MATLAB code for the expression 1*sin(2*pi*14*t) + 7*cos(2*pi*16*t) + 4*cos(2*pi*10*t)

5 visualizaciones (últimos 30 días)
Dyuman Joshi ha marcado con alerta este/a pregunta
I need this question answer for my mid exam

Respuestas (2)

Walter Roberson
Walter Roberson el 5 de Nov. de 2023

Image Analyst
Image Analyst el 5 de Nov. de 2023
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started:
Obviously we can't give you the full solution because you're not allowed to turn in our code as your own.
Generic hint:
numPoints = 300;
t = linspace(0, 100, numPoints);
omega = .02;
y = 10 * sin(2 * pi * omega * t);
plot(t, y, 'b-', 'LineWidth', 2);
grid on;
xlabel('t')
ylabel('y')
To learn other fundamental concepts, invest 2 hours of your time here:
  3 comentarios
Image Analyst
Image Analyst el 5 de Nov. de 2023
@Dyuman Joshi That was just boilerplate reply inserted from my list of "Quick replies" and I didn't take the time to customize it. Have you tried the quick replies yet? I use them a lot.
Dyuman Joshi
Dyuman Joshi el 5 de Nov. de 2023
Editada: Dyuman Joshi el 5 de Nov. de 2023
Yes, I have 7 quick replies ready to go, which I use often.

Iniciar sesión para comentar.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by