I am receiving a "parse error" in this function. Can anyone help me?
Show older comments
function y = f2(x)
y = x.^7 -6.0*x.^6 -14.1*x.^5 +97.6*x.^4 +70.5*x.^3 -423.9*x.^2 -169.0*x. +443.9 ;
end
I got the error on the last "+"
Thank you any help will be appreciated
Accepted Answer
More Answers (0)
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!