How to write this matlab code:

조회 수: 3 (최근 30일)
Quraisyia Aqilah
Quraisyia Aqilah 2015년 10월 21일
답변: TastyPastry 2015년 10월 21일
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일
if Ycount < Yget && Yget > 0
%Q1
elseif Ycount > Yget && Yget > 0
%Q2
elseif Ycount > Yget
%Q3
end

태그

Community Treasure Hunt

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

Start Hunting!

Translated by