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!

 Respuesta aceptada

the cyclist
the cyclist el 28 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Mzo. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by