Sum two plots and plot the result
Afficher commentaires plus anciens
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 commentaire
Rik
le 7 Sep 2019
The easiest way is to sum the data itself:
Z=X+Y;
plot(t,X,t,Y,t,Z)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!