Error using sym/subsindex (line 1558) Indexing input must be numeric, logical or ':'.

1 回表示 (過去 30 日間)
Yugal Gupta
Yugal Gupta 2017 年 5 月 26 日
編集済み: Yugal Gupta 2017 年 5 月 26 日
This the simple code, please have a look
syms m
A = [1 2 3; 4 5 6; 7 8 9;];
B = symsum(A(m,m),m,1,3);
Now error is - Error using sym/subsindex (line 1558) Indexing input must be numeric, logical or ':
I know that m is the symbolic variable, not a numerical value, that's why this is the error. Can anyone help me? Thanks in advance.

回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by