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

1 回表示 (過去 30 日間)
motregenelecpower=regenpower.*moteffregen

採用された回答

Roger Stafford
Roger Stafford 2018 年 2 月 17 日
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 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by