Set nan values
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Why i can´t do this?
x550(:,2)(x550(:,2)<200)=nan
??? Error: ()-indexing must appear last in an index expression.
Best Regards
0 commentaires
Réponse acceptée
Walter Roberson
le 9 Sep 2011
Because MATLAB does not allow () subscripting to be chained.
x550(x550(:,2)<200,2) = nan;
Plus de réponses (1)
John D'Errico
le 9 Sep 2011
Because it is invalid MATLAB syntax. Wanting to do something does not make it possible.
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!