scalar multiplication of two vectors giving me NAN,both are of same dimensions.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
sairohith mudduluru
il 17 Feb 2018
Risposto: Roger Stafford
il 17 Feb 2018
motregenelecpower=regenpower.*moteffregen
0 Commenti
Risposta accettata
Roger Stafford
il 17 Feb 2018
A zero in one vector multiplied by a corresponding infinity in the other vector will give a NaN result. You would do well to check the contents of your vectors.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical 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!