Generate and represent a sine wave in Matlab

2 visualizaciones (últimos 30 días)
long le
long le el 6 de Oct. de 2020
Comentada: long le el 6 de Oct. de 2020
Hi every one,
I am a newbie in Matlab, I have a question as below. Anyone can help me to do it in Matlab, or give me some guide to do it.
Generate and represent a sine wave in Matlab using the following equation:
x1(n) = A1sin(2πf1t + ϕ 1)
  4 comentarios
Jean Habimana
Jean Habimana el 6 de Oct. de 2020
I would say, welcome to Matlab.
You will first of all need to declare your variables
let me create a matlab script to ease the guidance,
say,
A1=10;
t=1:1:100;
f1=50;
phi=90;
x1= A1*sin(2*pi*f1*t+phi)
plot(t,x1)
then you can go on and replace my values of A1,t,f1 and phi with yours and run the script
good luck
long le
long le el 6 de Oct. de 2020
oh thank you, I understand

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by