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 个)

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