Effacer les filtres
Effacer les filtres

scalar multiplication of two vectors giving me NAN,both are of same dimensions.

3 vues (au cours des 30 derniers jours)
motregenelecpower=regenpower.*moteffregen

Réponse acceptée

Roger Stafford
Roger Stafford le 17 Fév 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.

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays 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!

Translated by