How to write this matlab code:
显示 更早的评论
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
2015-10-21
What if none of the three conditions is true?
回答(1 个)
TastyPastry
2015-10-21
if Ycount < Yget && Yget > 0
%Q1
elseif Ycount > Yget && Yget > 0
%Q2
elseif Ycount > Yget
%Q3
end
类别
在 帮助中心 和 File Exchange 中查找有关 Clustering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!