what's the wrong in this expression

조회 수: 1 (최근 30일)
sarine_nassima
sarine_nassima 2019년 1월 29일
답변: Walter Roberson 2019년 1월 29일
what's the wrong in this expression
if(rr(i)>= l(i,1)&& rr(i)<=h(i,1))
when i run my program i have error in this expresion.i need to help me .thank you for all
  댓글 수: 2
TADA
TADA 2019년 1월 29일
Post the error details, all the red text you get in the command window
Rik
Rik 2019년 1월 29일
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 1월 29일
rr does not contain at least i elements, or else l does not contain at least i rows, or else h does not contain at least i rows, or else rr or h or l are functions that return something that is not a scalar.
Or there is a problem on a different line.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by