How to resolve this error:Error using ==> sym.sym>notimplemented at 2514 Function 'le' is not implemented for MuPAD symbolic objects. Error in ==> sym.sym>sym.le at 825 notimplemented('le'); Error in ==> nrm_prog1 at 17 while abs((x0--x)/x)*100<=5
Show older comments
I am geeting following error for the program
fun=input('enter the function= ')
f1=inline(fun);
f1d=diff(f1(x))
fd=inline(f1d);
x0=input('Enter the initial value of x:');
x=x0-(f1(x)/fd(x));
while abs((x0-x)/x)*100<=5
x0=x;
x=x0-(f1(x)/fd(x));
if x==x0
break
end
end
1 Comment
muna padhy
on 1 Mar 2016
Answers (0)
Categories
Find more on Common Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!