Two functions superimposed on each other.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Suppose I have two functions, say y = sin(t) and y = sin( t + pi/4) and I want to make them start at the same point. How can this be done?
2 commentaires
Réponse acceptée
Azzi Abdelmalek
le 18 Oct 2012
t=0:0.1:10
plot(t, sin(t))
hold on ,
plot(t+pi/4,sin( t + pi/4) )
0 commentaires
Plus de réponses (1)
Matt J
le 18 Oct 2012
Change y2 to y2 = sin(t +2000 + pi/4)
now they will both start at t=2000
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!