Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Can you state it a bit clearer what your up to?
Is X(k) your time or freq domain, when you double the sampling freq your getting a better resolution in the freq domain fs = 44100 -> 22050 Hz, fs2 = 88200 -> than 44100 Hz..it only helps if you wanna get frequencies over the half sampling rate.....i am not a pro but maybe if you state it a bit clearer, i can help you
I have a signal x(t)=25cos(10*pi*t)cos(400*pi*t) . i sampled it at sampling frequency of 410 Hz which is just equal to the Nyquist rate. my matlab code to compute the DFT X(K) is
N=82;
n= 0:81;
Ts = 1/410;
t = n*Ts;
x=25*cos(10*pi*t).*cos(400*pi*t);
X=fft(x);
subplot(3,1,1)
stem(n, x)
axis tight
ylabel('x[n]');
xlabel('n');
subplot(3,1,2);
stem(n*410/N, abs(X));
axis tight
ylabel('DFT X(K),Magnitute');
xlabel('f in Hz');
subplot(3,1,3)
stem(n*410/N, angle(X))
ylabel('DFT X(K),Phase');
xlabel('f in Hz');
axis tight
The result is the DFT X(K) frequency spectrum show 3 frequency present in the signal. but i expect only two frequency present (195Hz and 205Hz) . where the hell this third frequency resulted. am i right to say that is it caused by aliasing.
Now if I sampled the signal at 810Hz and other parameter remain unchanged , my DFT X(K) in the frequency domain have duplicate copies( periodic) but the frequency spectrum is not what i expected to be 195Hz and 205Hz. I thought I have prevented Aliasing by sampling higher than the Nyquist Rate.
While having a look at the Matlab code, I don't think you should expect to see two frequency bins, since you are not 'adding' but 'multiplying' the two discrete-time signals
If you also look at it, this similar to multiplying a low frequency signal with a higher frequency one, something like AM and I believe the graph is also showing the same thing, both in time-domain and in frequency-domain
hai...
ihave a question..
how i can solve the signal from X signal to quantization signal
can give me the example of instruction in matlab how to do it..
where X = 6 sin (3πt)-5cos (6πt)+7cos(8πt +π/6)
N=7 with 4 level quantization using tranqated technique
range= ±10V
ok..
this the question..
the question give X = 6 sin (3πt)-5cos (6πt)+7cos(8πt +π/6)
its want to get the quantized signal,Xq with 4 quantization level using trancated technique.. and the dynamic range is ±10V..
giving N=7..
from the manual calculating i get the value is..
{-2.5,-2.5,-2.5,-2.5,2.5,7.5,7.5..}
N is equal of the dicsrete signal from 0 until 6..(0<N<6)
i get in what u said 4 quant level for a dynamic range ±10 would be 20/4 values.
its true...
if the answer wrong..
how should i get the true answer from calculating and using matlab..?
You would have made a function to quantize the input signal in Matlab. So, upload the part where you describe the algorithm into Matlab code. You can send it via email if you dont want to upload it here.
I'll point you out where you are doing the mistake. So that you can reverse engineer the idea
I will however, not make a function for you (I think this is part of your homework)
you may also join our yahoo group "telecom_research"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.