sin(2*pi*F*n) Code please..

13 visualizaciones (últimos 30 días)
SEONGCHEON JEON
SEONGCHEON JEON el 25 de Mzo. de 2020
Comentada: Walter Roberson el 25 de Mzo. de 2020
Q. Plot the following four discrete signals using Matlab.
num1. x[n]=sin(2*pi*F*n) -> Z include n , Z is integer
-> F= 1/16 , F= 2/16 , F= 11/16, F= pi/16
nub2. x[n]=cos(2*pi*F*n) -> Z include n , Z is integer
-> F= 1/5 , F= 6/5
Code please..
  1 comentario
Walter Roberson
Walter Roberson el 25 de Mzo. de 2020
Hint: make n a column and F a row and use .* instead of * . When you plot() the results you will get one line per column and you will have lenth(F) of those

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by