Subscript indices must either be real positive integers or logicals
Afficher commentaires plus anciens
what should i do to not get this error? >> Subscript indices must either be real positive integers or logicals.
1 commentaire
per isakson
le 8 Août 2017
Make sure that the values of sqrt(EbN0) and sqrt(2*EbN0) always are "real positive integers or logicals"
Réponse acceptée
Plus de réponses (2)
the cyclist
le 8 Août 2017
1 vote
It looks like you have somehow created a variable with the name sqrt, and you are inadvertently accessing that variable, rather than the sqrt function.
3 commentaires
Walter Roberson
le 8 Août 2017
No, not in this particular case -- but that does certainly happen sometimes!
the cyclist
le 8 Août 2017
Ah, you are right. I missed the evidence that the workspace didn't have an sqrt variable.
MOHINI MODI
le 8 Août 2017
Modifié(e) : MOHINI MODI
le 8 Août 2017
MOHINI MODI
le 10 Août 2017
0 votes
Catégories
En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!