If statement error with less than OR greater than
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Anastasia Zistatsis
il 24 Feb 2021
Risposto: Walter Roberson
il 24 Feb 2021
if lambda <= 0 | >= 2
error('value is not valid');
end
I keep getting an error on ">= 2", saying it is an invalud use of the operator.
Why is this and what can I do to fix it?
Thanks
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!