Afficher commentaires plus anciens
where s(t)= cos(t/2)cos(w*t)-sin(t/2)sin(w*t) where 0 < t< pi w=1000
Réponses (2)
Stalin Samuel
le 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)
1 commentaire
clowen
le 3 Mar 2016
Star Strider
le 3 Mar 2016
You’re not calling the functions themselves in your ‘q’ assignment. Change it to:
q=@(t) s1(t)+s12(t);
Catégories
En savoir plus sur Annotations 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!