Unexpected MATLAB expression when making a table?

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!

 Accepted Answer

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.

More Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Asked:

on 28 Mar 2013

Community Treasure Hunt

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

Start Hunting!