please help with the error
Mostra commenti meno recenti
I used the code:
a := series(sin(x), x)
and it gave me the error:
Error: "a" was previously used as a variable,
conflicting with its use here as the name of a function or command.
See MATLAB Programming, "How MATLAB Recognizes Function Calls That Use Command Syntax" for details.
Can someone please help me with this?
dav
Risposte (2)
Image Analyst
il 13 Ott 2013
0 voti
There is no := operator in MATLAB. Get rid of the colon.
2 Commenti
dav
il 13 Ott 2013
Image Analyst
il 13 Ott 2013
All right, then how can we help? Have you provided anyone with what might be necessary to help you, like error messages, an m-file, or data file? What toolbox is "series()" in? You didn't list your toolboxes in the Product box either.
Walter Roberson
il 13 Ott 2013
syms x
a = feval(symengine, 'series', sin(x), x);
Categorie
Scopri di più su Expansion in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!