Réponse apportée
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 ...

presque 8 ans il y a | 2

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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 ...

presque 8 ans il y a | 2

| A accepté

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 8 ans il y a | 0

Réponse apportée
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 ...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
find observations with nonconsecutive numbers
like this: A=[55; 56; 57; 58; 26; 27; 28]; observations=A([1; diff(A)]~=1);

plus de 8 ans il y a | 1

Réponse apportée
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 ...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 1

Réponse apportée
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'); ...

plus de 8 ans il y a | 6

| A accepté

Réponse apportée
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 ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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 ...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 9 ans il y a | 1

Réponse apportée
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{:}]; ...

environ 9 ans il y a | 0

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
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

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 1

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0