To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I write s function which take two parameter the first is an equation and the second is an integer number and I want to substitute with this number in the equation and return the result.
function result=sub(a,c) %UNTITLED3 Summary of this function goes here % Detailed explanation goes here result=subs(a,c);
when I test it on command window I write
I get an error
??? Undefined function or variable 'x'.
No products are associated with this question.