Subscript indices must either be real positive integers or logicals

1 回表示 (過去 30 日間)
MiauMiau
MiauMiau 2014 年 6 月 22 日
コメント済み: MiauMiau 2014 年 6 月 22 日
Hi
I have a (huge) matrix A which I have loaded in my workspace, which does contain numbers between -13.286 and 12.456 etc. Now upon applying X = corr(A) I get the following error:
>> Subscript indices must either be real positive integers or logicals
..what can I do?

採用された回答

Roger Stafford
Roger Stafford 2014 年 6 月 22 日
Very likely you have a variable in your system called 'corr' which conflicts with the matlab function of the same name.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by