필터 지우기
필터 지우기

How can i use AND (&&) and OR (||) in one if statement

조회 수: 1 (최근 30일)
Abdulaziz Abutunis
Abdulaziz Abutunis 2015년 11월 7일
편집: Star Strider 2015년 11월 7일
Hi all, please I am seeking you help, I am using the following if statement
if y~=1 && y~= length(Radius) && -1.1<=aa_ && aa_<=-0.98
to check for any aa_ that is -1.1<=aa_<= -0.98 and not located at the length y that is ystart<y<yend
However their was no data found even though there are around 300 aa_ that satisfy this condition.
does anyone know the reason and if the IF statement need to be fixed
Thanks, Aziz

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by