finding roots of equation in matlab
1 visualizzazione (ultimi 30 giorni)
I want to find roots of an equation using roots command.My code is
p=[1 0.45 0 -0.0133 -0.08 0 0.016]
but when i run it matlab gives error
Error=Attempt to execute SCRIPT roots as a function
Someone kindly help me to remove this error i willbe very thankful to u.
Nicolas B. il 21 Nov 2019
I would be you, I would check whether you don't have any home-made script named roots in your MATLAB path.
If you have no idea where it could be, maybe run it first once with:
Then, maybe, the output of the script would give you some hints.