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 CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by