![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1296922_1563369631677.jpg)
Python, C++, C, Java, R, MATLAB, Fortran
Spoken Languages:
English, Spanish
Feeds
DLnetwork definition and training problem with outputLayer
You should use the <https://www.mathworks.com/help/deeplearning/ref/trainnet.html trainnet> function instead of trainNetwork to ...
4 months 前 | 0
Stateful predict block failed to evaluate mask initial commands
Hi @MUSKAN, A few questions: What version of MATLAB are you using? Can you provide more details on the network architecture? ...
4 months 前 | 0
| 已接受
Why MATLAB uses the Newton’s Gradient Descent as the solver for fitcnet?
L-BFGS is used both in in fitcnet and fitrnet. These functions ship in Statistics and Machine Learning Toolbox and allow you to ...
1 year 前 | 0
| 已接受
Defuzzification
If you are using the Fuzzy Inference System editor, you can choose in the main GUI one of the defuzzication methods. The input f...
9 years 前 | 0
About random number generators
As you have found out, using |<http://www.mathworks.com/help/matlab/ref/rng.html rng>| is the way to go with the current MATLAB ...
10 years 前 | 0
| 已接受
corrcoef - plotregression (which algorithm plotregression use)
|plotregression| actually uses the |regression| function (also from Neural Network Toolbox) to compute the R value. However,...
12 years 前 | 1
ODE15S problem with solver
Have you tried with all the different stiff solvers available? |ode15s|, |ode23s|, |ode23t| and |ode23tb|. It could be that the...
12 years 前 | 0
| 已接受
bsxfun in GPU in PCT v5.2
The link you are referring to is actually from the current release, R2012a. bsxfun support for GPUArray data is a new feature in...
12 years 前 | 0
| 已接受
Using uiimport and subsequent coded commands
Hi Jason, In order for your code to wait until uiimport has finished, make sure you request a return value from uiimport. ...
12 years 前 | 0
| 已接受
Remove ObsNames from MatLab dataset
The property ObsNames may be empty. Otherwise, it should have as many strings as observations. To remove these ObsNames from a d...
12 years 前 | 0
| 已接受
How to measure running time of a code using MATLAB
Take a look at the <http://www.mathworks.es/help/techdoc/ref/tic.html tic> and <http://www.mathworks.es/help/techdoc/ref/toc.htm...
13 years 前 | 5
| 已接受
Select a random number from a set
There are a few ways to do it. For example, using randi to select in which position is the card that you will extract. pos ...
13 years 前 | 10
Neural Network code
Your code is basically creating a network with only one layer of neurons. With newfit this means that the network is trying to f...
13 years 前 | 0
| 已接受
how to find distance between two points?
You can use the <http://www.mathworks.es/help/toolbox/stats/pdist.html pdist> function in the Statistics Toolbox: e.g: distance...
13 years 前 | 28
| 已接受
how to separate out the lung sounds from heart sounds ?
You can use adaptfilt in the DSP toolbox for adaptive noise canceling. A "similar" <http://www.mathworks.com/products/dsp-system...
13 years 前 | 0
checking of existing an string in a cell arrays
if ~any(strcmp(CELL,'a')) % Do Something else % Do Something else end
13 years 前 | 37
| 已接受
create vector of repeating elements (sort of)
One of many ways: >> w = 3; n = 8; >> v = repmat(1:n,w,1); >> v = v(1:end)
13 years 前 | 0
Angle between two vectors in 3d
You can use the subspace function to find the angle between two subspaces: >> subspace([1;0;0],[0;1;0]) ans = 1...
13 years 前 | 3
Combining vectors of day, month and year into a single date vector
dates = datenum([year,month,day]); Then you can plot your data vs. dates. Finally, use |datetick| to change the format o...
13 years 前 | 4
| 已接受
Error Message when using configured ANN (mismatch number of inputs)
The functions for creating networks in the toolbox will assume that if your input matrix is |n x m| it will represent |m| sample...
13 years 前 | 0
| 已接受
How to define the abstract symbolic of 'f=f(x,y,z)' at Matlab-Smbolic.
You can do the following: >> syms x y z; >> f = sym('f(x,y,z)'); >> g = x * f + y * f^2 + z; >> jacobian(g, [x,y,z]) ans ...
13 years 前 | 1
find max of a vector between two indice
>> C = arrayfun(@(x) max(B(A(x):A(x+1))),1:length(A)-1) C = 2 9
13 years 前 | 0
| 已接受
transposing the contents of the cell
Let |C| be your cell. You can do the following: C = cellfun(@transpose,C,'un',0);
13 years 前 | 2
| 已接受
spline? interp?
Do you have the curve fitting toolbox? If so, you can try using the functions |cscvn| for interpolating the spline and |fnplt|...
13 years 前 | 0
Kohonen (example from help does not work)
Which release are you using? There is a known bug in R2010b and R2011a regarding newc and competlayer. <http://www.mathworks.co...
13 years 前 | 0
Neural Network - Multi Step Ahead Prediction
Hi Jack, When using |narxnet|, the network performs only a one-step ahead prediction after it has been trained. Therefore, yo...
13 years 前 | 20
| 已接受
Converting a complex number to polar form and finding it's magnitude
r = abs(z); theta = atan2(imag(z),real(z)); Also... r = abs(z); theta = angle(z);
13 years 前 | 1
| 已接受
complex numbers in Symbolic Toolbox
*[Updated]* Define the symbolic variables as real and use the function |simplify| when needed: >> syms a b c d real; >> F=a...
13 years 前 | 2
| 已接受
how to increase iteration limit in glmfit ?
Iteration limit is set to 100 in glmfit. You cannot change it unless you edit the function and change it manually (type |edit gl...
13 years 前 | 0
| 已接受