case 1: Ycount<Yget and Yget>0, consider as Q1
case 2: Ycount>Yget and Yget>0, consider as Q2
case 3: Ycount>Yget, consider as Q3

댓글 수: 1

Walter Roberson
Walter Roberson 2015년 10월 21일
What if none of the three conditions is true?

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

답변 (1개)

TastyPastry
TastyPastry 2015년 10월 21일

0 개 추천

if Ycount < Yget && Yget > 0
%Q1
elseif Ycount > Yget && Yget > 0
%Q2
elseif Ycount > Yget
%Q3
end

태그

질문:

2015년 10월 21일

답변:

2015년 10월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by