Subscript indices must either be real positive integers or logicals
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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 Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!