- 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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Pl I want the code of plotting horizontal line with sin wave in the same figure
3 Commenti
Risposte (1)
Sergey Kasyanov
il 21 Mar 2021
Modificato: Sergey Kasyanov
il 21 Mar 2021
Hello!
hold on
plot([x1,x2], [y,y])
Line starts in [x1, y] point and ends in [x2, y] point.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!