Subscript indices must either be real positive integers or logicals

2 vues (au cours des 30 derniers jours)
MiauMiau
MiauMiau le 22 Juin 2014
Commenté : MiauMiau le 22 Juin 2014
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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by