Two functions superimposed on each other.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Azzi Abdelmalek
il 18 Ott 2012
t=0:0.1:10
plot(t, sin(t))
hold on ,
plot(t+pi/4,sin( t + pi/4) )
0 Commenti
Più risposte (1)
Matt J
il 18 Ott 2012
Change y2 to y2 = sin(t +2000 + pi/4)
now they will both start at t=2000
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!