An error in my code
1 view (last 30 days)
Show older comments
Hello everyone!
I hope you all good and healty '')
I write a code and MATLAB says that I have an error and I don't know how to fix it
This is what happens:

Is anyone here knows how to fix that?
Here is the code as a text:
clc
clear
sym x
F= atan(x);
t5= taylor(F,x,'order',5);
t7= taylor(F,x,'order',7);
fplot(x^3/3+x,[-pi pi],'b')
hold on
fplot((2*x^5)/15+x^3/3+x,[-pi pi],'r')
fplot(atan(x),[-pi pi],'g')
hold off
Thank you all '')
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!