scalar multiplication of two vectors giving me NAN,both are of same dimensions.
1 回表示 (過去 30 日間)
古いコメントを表示
sairohith mudduluru
2018 年 2 月 17 日
回答済み: Roger Stafford
2018 年 2 月 17 日
motregenelecpower=regenpower.*moteffregen
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!