How to write this matlab code:

3 visualizaciones (últimos 30 días)
Quraisyia Aqilah
Quraisyia Aqilah el 21 de Oct. de 2015
Respondida: TastyPastry el 21 de Oct. de 2015
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 comentario
Walter Roberson
Walter Roberson el 21 de Oct. de 2015
What if none of the three conditions is true?

Iniciar sesión para comentar.

Respuestas (1)

TastyPastry
TastyPastry el 21 de Oct. de 2015
if Ycount < Yget && Yget > 0
%Q1
elseif Ycount > Yget && Yget > 0
%Q2
elseif Ycount > Yget
%Q3
end

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by