Filter löschen
Filter löschen

can anyone tell me how to plot, plots of two different programs in a single plot?

1 Ansicht (letzte 30 Tage)
i have two different programs and i need to have comparison plot i.e both outputs in a single plot.

Akzeptierte Antwort

Alexander
Alexander am 1 Mai 2023
use "hold on" between both plottings:
plot(a,b)
hold on
plot(c,d)
hold off

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D 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!

Translated by