I got this M-File and I need to look for the errors (theres 4 of them) for the file to function properly
Code:function [c,d]=errors(x) %This function file generates a matrix d of which the elements %are the elements of x minus 1. At the same time it generates a %value c indicating how often the function file has gone through %the second for loop. [p,q]=size(x) for a=1:q for b=1:p d(a,b)=x(a,b)-1; c=c+1; end


LinkBack URL
About LinkBacks
