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