필터 지우기
필터 지우기

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

조회 수: 3 (최근 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에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by