Borrar filtros
Borrar filtros

sin wave with difference sampling frequency?

3 visualizaciones (últimos 30 días)
Mary Jon
Mary Jon el 29 de Dic. de 2013
Editada: aadharsh parameshwar el 31 de En. de 2020
How can generate sine() with 100 ,150,1000,1500 ,sampling frequency ?

Respuesta aceptada

Wayne King
Wayne King el 29 de Dic. de 2013
Simply change the increments at which the time vector is sampled.
100 Hz sampling frequency:
Fs = 100;
t = 0:1/Fs:1;
x = cos(2*pi*10*t);
Now change Fs to 150 and so son
Fs = 150;
t = 0:1/Fs:1;
x = cos(2*pi*10*t);
  2 comentarios
MD Zaid
MD Zaid el 2 de Mayo de 2019
why cos? why are we not using sin?
aadharsh parameshwar
aadharsh parameshwar el 31 de En. de 2020
Editada: aadharsh parameshwar el 31 de En. de 2020
in frequency domain sin we integrate to get cos
thats what i thnk... pls forgive me if my answer is wrong...

Iniciar sesión para comentar.

Más respuestas (1)

RAJESHWARI G N
RAJESHWARI G N el 28 de Mzo. de 2019
How to genarate sinusoidal signal with 50hz freq,2 unit magnitude using sampling rate 500hz and total no of points 1024. then compute DFT

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by