Unexpected MATLAB expression when making a table?

1 回表示 (過去 30 日間)
Anna
Anna 2013 年 3 月 28 日
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!

採用された回答

the cyclist
the cyclist 2013 年 3 月 28 日
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.
  1 件のコメント
Anna
Anna 2013 年 3 月 28 日
THANK YOU!!! :D

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAI for Signals についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by