MATLAB: I get this error? how can I solve it returnindex Error in returnindex (line 2) n=length(X); Output argument "ind" (and maybe others) not assigned during call to "returnindex". Error in BinData (line 28) Y(i,1)=returnindex(X(i),Value)-1; Best Answer Need your returnindex.m to see the problem. Most likely, it has a output argument called "ind" but was not assigned. Related SolutionsMATLAB: Could anyone help me to overcome the error. partdisp is part of a file exchange contribution. It is defined as not returning any variables and as displaying the output to the command window. You can modify the code if that is not what you need. MATLAB: How to put vector in Begin āiā at 1 and subscript āxā:n=length(x);i=1;while(i<n); if x(i)<0 y(i)=-1; else y(i)=1; end i=i+1;end Related Question[HELP] Vector loops :'(
Best Answer