Simple Script not working
1 view (last 30 days)
Show older comments
******start Script*****
fuction err= WebersLawErr(p,x,y)
pred=WebersLaw(p,x);
err=sum((pred(:)-y(:)).^2);
******end script*******
%Matlab Command_
EDU>> err= WebersLawErr(p,x,y)
Attempt to execute SCRIPT WebersLawErr as a function: C:\Users\radioshack\Documents\MATLAB\WebersLawErr.m
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!