Filter löschen
Filter löschen

How to determine the frequency SAMPLING?

3 Ansichten (letzte 30 Tage)
BANI tita
BANI tita am 1 Jan. 2013
i have function determined by: x(t)=sin[2*pi*(n/60)*p*t + sin(2*pi*m*(n/60)*t)] In the cases: n=1450 r.p.m. (rotating speed) p=20 , p=40, p=100 (pulses per revolution of an encoder) m=1, m=2 (multiplicity order of rotating speed) how to determine frequency sampling????

Antworten (2)

Image Analyst
Image Analyst am 1 Jan. 2013
Sample it however frequent you want. The spacing between different values of t can be anything. What do you want? Exactly the Nyquist frequency? Something greater or lesser? How are we supposed to know? What is your goal? What are you trying to show, illustrate, or determine?

BANI tita
BANI tita am 1 Jan. 2013
Bearbeitet: Image Analyst am 1 Jan. 2013
i want to do frequency modulation of this function and carrier frequency is variant. please see this program and say me is correct or no????
Fs=1000;
n=1450;
T=1/Fs;
L=1024;
t=(0:L-1)*T;
d = pow2(nextpow2(L));
f = (0:d-1)*(Fs/d);
%f = Fs/2*linspace(0,1,d);
for m=1
for p=20
x1=sin(2*pi*(n/60)*p*t+sin(2*pi*m*(n/60)*t));
y1=fft(x1,d)/L;
power1 = y1.*conj(y1)/d;
end
  2 Kommentare
Image Analyst
Image Analyst am 1 Jan. 2013
Sorry, that's not my field. Perhaps someone else will answer.
BANI tita
BANI tita am 1 Jan. 2013
ok thank you so much :)

Melden Sie sich an, um zu kommentieren.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by