Sum two plots and plot the result
Mostrar comentarios más antiguos
Is there a simple way to take the sum of two plots that overlap and plot the result? X and Y are the same length for both.

1 comentario
Rik
el 7 de Sept. de 2019
The easiest way is to sum the data itself:
Z=X+Y;
plot(t,X,t,Y,t,Z)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!