how plot s(t)
1 view (last 30 days)
Show older comments
where s(t)= cos(t/2)cos(w*t)-sin(t/2)sin(w*t) where 0 < t< pi w=1000
0 Comments
Answers (2)
Stalin Samuel
on 3 Mar 2016
% for example
t=0.1:0.1:pi
s= cos(t/2).*cos(w*t)-sin(t/2).*sin(w*t)
plot(s)
Star Strider
on 3 Mar 2016
You’re not calling the functions themselves in your ‘q’ assignment. Change it to:
q=@(t) s1(t)+s12(t);
0 Comments
See Also
Categories
Find more on Annotations 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!