Creating a piecewise function using for and if
Ältere Kommentare anzeigen
For an assignment, I need to create a piecewise graph using only for and if statements, but I have two equations, 15 + 2*(x-1), x>=2, and 15 if x is between 0 and 2 for a data set of 0:0.1:5 I am not sure how I would construct this.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!