plot with if else command
Ältere Kommentare anzeigen
c=[1 -12 24 -48]
croots=roots(c)
Use the if - elseif construct to plot the 1st root as follows: if
the root is less than 3 or greater than 5, plot the root as red + with
size 32; if the root is greater than 3 and less than 5, plot the root
as a blue square size 32.
1 Kommentar
madhan ravi
am 6 Mär. 2019
Please show what you have tried for your homework.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 2-D and 3-D Plots 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!