The first two are the question being asked. Thats the work that I have done so far, but I am confused as to what I should do becuase there is no x value given.
Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Piecewise function. Dont know x
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens



3 commentaires
Walter Roberson
le 7 Nov 2019
Duplicate question. You should merge it with your earlier questions on the same topic.
Réponses (1)
Walter Roberson
le 7 Nov 2019
Establish a vector of definite x values. Use logical indexing
X = something definite
Y = nan(size(x));
Mask = x > something & x < something else
Y(Mask) = some vectorized expression in X(Mask)
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!