답변 있음
Matlab SVD & PCA - which singular values belongs to which variables?
assuming that *X* is your matrix : mu = mean(X);%average of each column Xmean = bsxfun(@minus, X ,mu);%data centered ...

거의 8년 전 | 2

답변 있음
subtract rows under a condition
solution: dataA = [1 1 1 2 1 3 1 4 2 5 2 6 2 7 3 8 3 9 3 10 4 11 4 12 4 13 5 14 5...

거의 8년 전 | 0

답변 있음
How to manually calculate a Neural Network output?
you missed several normalization parameters, here I leave the solution : [x, y] = crab_dataset; size(x) % 6 x 200 ...

거의 8년 전 | 2

| 수락됨

답변 있음
Convolutional Neural Networks and GPU GTX960m
I recommend that you change the size of the images, since it is not necessary to have a very large size, the convolutional neura...

거의 8년 전 | 0

답변 있음
How do I make input/output in a function a vector?
one cycle is missing function gradesRounded = roundGrade(grades) gradesRounded=grades; for k=1:numel(grades) if gr...

거의 8년 전 | 0

| 수락됨

답변 있음
Line detection in an image!!
imo = rgb2gray(imread('white_3.jpg')); se = strel('line',17,5); sim = imdilate(imo, se); se2 = strel('disk', 1); s...

거의 8년 전 | 0

답변 있음
MultiLayer Neural Network with inputs forwarded to each Layer
You can do this by code in the following way: trainFcn = 'trainlm'; % Levenberg-Marquardt backpropagation. hiddenLayerS...

거의 8년 전 | 1

| 수락됨

답변 있음
How to create a function with an algebraic input
you can do like this: function f=g(y, x0 , epsilon) y=str2func(['@(x) ' y]); %your code but your input "y" need ...

8년 초과 전 | 0

답변 있음
How to create new folder for each iteraton
an example: for k=1:5 %for k=1,2,3,4,5 name=['folder' num2str(k)];%new folder name mkdir(name)%create new folder ...

8년 초과 전 | 1

| 수락됨

답변 있음
Executing two loops at the same time
you can do like this: n = input('Your number = '); i = 1; while n ~= 1 while rem(n,2) == 0 && n ~= 1 ...

8년 초과 전 | 0

| 수락됨

답변 있음
How to Create Image Input Layer using Neural Network Using JPG Images ?
You must take into account that an image is a matrix of pixels, if it's an colored imaged then its size is length*width*3 (which...

8년 초과 전 | 0

답변 있음
How I can add more hidden layers on the nftool code that I exported from the nnstart GUI?
you can use : trainFcn = 'trainlm'; hiddenLayerSize = 23; numberhiddenlayers=2;%more hidden layers net = fitnet...

8년 초과 전 | 1

| 수락됨

답변 있음
find observations with nonconsecutive numbers
like this: A=[55; 56; 57; 58; 26; 27; 28]; observations=A([1; diff(A)]~=1);

8년 초과 전 | 1

답변 있음
Neural network training Maximum mu reached
Hello, Matlab selects a default Mu value of 0.001, but you can change it using the command: Net.trainParam.Mu = 0.0001; With ...

8년 초과 전 | 2

| 수락됨

답변 있음
How to control the apperance of a "ui control" from another gui?
from gui2 : Since version R2014b : a=findall(groot, 'Name', 'myguide1'); %myguide1 is the file name for guide1 set(fin...

8년 초과 전 | 0

| 수락됨

답변 있음
Artificial Neural Network - Equations?
Neural networks are very complex models including a lot of parameters, so a neural network that gives an equation as an answer d...

8년 초과 전 | 1

답변 있음
Use of sendmail function to send an email from a gmail account
solution: setpref('Internet','SMTP_Server','smtp.gmail.com'); setpref('Internet','E_mail','myemailaddress@gmail.com'); ...

8년 초과 전 | 6

| 수락됨

답변 있음
Negative output neural networks
the output of the neural network depends on the transfer function of the output layer, if the results are negative you probably ...

8년 초과 전 | 0

| 수락됨

답변 있음
Finding the cell indices of a cell contains a specific text
I can help you with what you need in this example, it will give you the indices you need : TEXT={'103.9685,10:27:37,2016-02...

8년 초과 전 | 0

| 수락됨

답변 있음
How to transpose a matrix
you can use this: A = [1 8 1 5 1 4 2 6 2 7 2 2 2 5 7 6 7 4 7 8 9 9 9 1 9 2 9 6 9...

8년 초과 전 | 0

답변 있음
How do you extract certain rows from one matrix thats first column has specific values and create a new matrix containing those rows?
You can use the function "mod" M =[0.00023 1 2 3 4 5; 0.007 1 2 3 4 5; 0.01 1 2 3 4 5; 0.0127 1 2 3 4 5 0.02 1 ...

거의 9년 전 | 0

| 수락됨

답변 있음
Eulers Number Code and Questions
You Can use this: function [est,n ] = approximate_e( delta ) n=-1; est=0; while abs(exp(1)-est)>delta ...

대략 9년 전 | 1

답변 있음
how to refer an element in a column to related a value in another cloumn?
fileID = fopen('text.txt'); C = textscan(fileID,'%s %s %s %s %s %s %s','Delimiter',','); fclose(fileID); C=[C{:}]; ...

9년 초과 전 | 0

답변 있음
How to make the slider move while the audio file is playing ?
an example : load handel player = audioplayer(y,Fs); f=uicontrol('Style','slider'); % set(player,'TimerFcn',{@eje...

9년 초과 전 | 0

답변 있음
how can I write a function file using FOR loop to find the sum: A + A^2 + A^3 +···+ A^n when A is a square matrix?
you can use ".^" function [s] = function1(A,n) s=zeros(size(A)); for i=1:n s=s+A.^n; end end

9년 초과 전 | 0

| 수락됨

답변 있음
Ayuda con grafico de matrices. Graficar solo un término que va a ir variando.
solo se agrega una variable dentro del for que vaya guardando el primer dato de esa última matriz y una vez termina el ciclo for...

9년 초과 전 | 1

답변 있음
Metaheuristics vs exact method
Metaheuristic methods are mostly used in cases whether using an exact method has a very high computational cost or there is no p...

9년 초과 전 | 0

| 수락됨

답변 있음
how to remove that element from cell vector which is identical to given argument or contains the argument as a substring. And return cell vector without that argument.
str={'hi' 'me' 'if' {'yes' 'no' 'hi'} {'for' 'while' 'all'} 'hi'}; %example element='hi'; %remove 'hi' str(strcmp(str,el...

10년 초과 전 | 0