m1(t)=A1cos2πf1t m2(t)=A2cos2πf

4 vues (au cours des 30 derniers jours)
yigit aygun
yigit aygun le 30 Déc 2016
m1(t)=A1cos2πf1t m2(t)=A2cos2πf2t i want to code in matlab
  4 commentaires
John D'Errico
John D'Errico le 30 Déc 2016
Interestingly, this seems quite close to another question asked just a minute ago, by another person. So probably homework.
Debashis Panda
Debashis Panda le 30 Déc 2016
What is the value of amplitdes(A1 and A2), frequency (f1 and f2), and time range. please post here...

Connectez-vous pour commenter.

Réponses (1)

Ahmed raafat
Ahmed raafat le 30 Déc 2016
A1=input('A1=');
A2=input('A2=');
t= %vector
f1=input('f=2');
f2=input('f=2');
m1=A1*cos(2*pi*f1).*t
m2=A2*cos(2*pi*f2).*t

Catégories

En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by