Unexpected MATLAB expression when making a table?

3 Ansichten (letzte 30 Tage)
Anna
Anna am 28 Mär. 2013
When I try to present my data in a table by doing:
>> T= [ax ay subs(D, {x y},{ax ay})subs(fxx,{x,y},{ax ay})] <-- THIS GIVES
??? T= [ax ay subs(D, {x y},{ax ay})subs(fxx,{x,y},{ax ay})]
|
Error: Unexpected MATLAB expression.
This expression is what my professor told us to use and I am not sure what is wrong. Is 'T=' command wrong? Is there another command that would make the same table as the above command?
Thank you!

Akzeptierte Antwort

the cyclist
the cyclist am 28 Mär. 2013
Try this:
T= [ax ay subs(D, {x y},{ax ay}) subs(fxx,{x,y},{ax ay})]
Note the extra space I added before subs.

Weitere Antworten (0)

Kategorien

Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by