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
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Piecewise function. Dont know x
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![IMG_1796.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247150/IMG_1796.jpeg)
![IMG_1797.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247151/IMG_1797.jpeg)
![Screen Shot 2019-11-06 at 9.30.06 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247152/Screen%20Shot%202019-11-06%20at%209.30.06%20PM.png)
3 Kommentare
Walter Roberson
am 7 Nov. 2019
Duplicate question. You should merge it with your earlier questions on the same topic.
Antworten (1)
Walter Roberson
am 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 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!