- Surely you can you plot a sine wave?
- Can you plot a horizontal line? Hint, either use plot, or use yline.
I want the right coding for ploting a horizontal line with sin wave
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pl I want the code of plotting horizontal line with sin wave in the same figure
3 Kommentare
Antworten (1)
Sergey Kasyanov
am 21 Mär. 2021
Bearbeitet: Sergey Kasyanov
am 21 Mär. 2021
Hello!
hold on
plot([x1,x2], [y,y])
Line starts in [x1, y] point and ends in [x2, y] point.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!