Is numel() supposed to accept more than one input argument?
I accidentally did numel(A,1) instead of size(A,1) and didn’t get an error message to alert me of the mistake. That’s fine, I guess, as long as numel() is supposed to accept multiple input arguments for some reason. Is it?
A=rand(4,3);
numel(A)
numel(A,1)I accidentally did numel(A,1) instead of size(A,1) and didn’t get an error message to alert me of the mistake. That’s fine, I guess, as long as numel() is supposed to accept multiple input arguments for some reason. Is it?
A=rand(4,3);
numel(A)
numel(A,1) I accidentally did numel(A,1) instead of size(A,1) and didn’t get an error message to alert me of the mistake. That’s fine, I guess, as long as numel() is supposed to accept multiple input arguments for some reason. Is it?
A=rand(4,3);
numel(A)
numel(A,1) numel, bug? MATLAB Answers — New Questions