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

4 visualizaciones (últimos 30 días)
yigit aygun
yigit aygun el 30 de Dic. de 2016
Respondida: Ahmed raafat el 30 de Dic. de 2016
m1(t)=A1cos2πf1t m2(t)=A2cos2πf2t i want to code in matlab
  4 comentarios
John D'Errico
John D'Errico el 30 de Dic. de 2016
Interestingly, this seems quite close to another question asked just a minute ago, by another person. So probably homework.
Debashis Panda
Debashis Panda el 30 de Dic. de 2016
What is the value of amplitdes(A1 and A2), frequency (f1 and f2), and time range. please post here...

Iniciar sesión para comentar.

Respuestas (1)

Ahmed raafat
Ahmed raafat el 30 de Dic. de 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

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by