Two functions superimposed on each other.
3 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Azzi Abdelmalek
on 18 Oct 2012
t=0:0.1:10
plot(t, sin(t))
hold on ,
plot(t+pi/4,sin( t + pi/4) )
0 Comments
More Answers (1)
Matt J
on 18 Oct 2012
Change y2 to y2 = sin(t +2000 + pi/4)
now they will both start at t=2000
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!