Welcome to our site! EDAboard.com is an international Electronics 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.
hello all,
i tried to measure the CNR from the spectrum of a noisy carrier but the result is not precise, i get 6.6 dB attenuation from the real CNR, im sure that this is because i dont normalize something, can somebody please tell me how to do it correctly or what is the problem in my code.
my...
hello all,
i wrote this code:
N=10000; %number of data bits
data=randn(1,N)>=0; %Generate uniformly distributed random data
Fs=20*10.7e+6; %Sampling frequency
Rb=Fs*(1/10);
Tb=1/Rb;
Fc=10.7e+6;
snrdb=10; % Eb/N0 range in dB for simulation
time_bpsk=0:(1/Fs):Tb*(length(data))-(1/Fs)...
hello all,
does anyone know how to create a frequency divider in matlab or have a code that doing that?
i know that if i want to divide a signal frequency by 4 i need two Dflipflop but there isnt a dflipflop or any other flipflop in matlab so i can i generate a frequency divider?
thanks.
seyed mojtaba thank you for your reply.
I followed your instructions and managed to filter the desired frequency but the results are accurate only in the spectrum and not in time.
in time unwanted peaks is obtained (as you can in the picture below).
Do you or even someone else knows why this...
hello all,
i'm trying to get a bandpass filter for frequency 42.8MHz (as you can see in picture below), but dont matter what i try with the fdatool it doesnt work.
fcarr=10.7e+6;% Carrier frequency(Hz)
fs=2*6*fcarr; %sample fequency
can somebody help me??
dear zorro,
I had change the smple frequency and the time vector has you advise, but when i raise the modulation signal by power 4 and do fft i dont get in the spectrum a component in the 4 times carrier frequency, what is the problem for your opinion?
the program now look like this:
clear all...
oh you are so right thank you very much.
zorro i have correct what you told me but now i have a new problem matlab says "out of memory"
"
Out of memory. Type HELP MEMORY for your options.
Error in Untitledquestion (line 12)
td=(Ts:Ts:1)';% Time vector(data)
"
my code is now looking like this...
hello zorro,
i dont understand why i need sample rate in this system what is the purpose of sampling the data signal if it is already digital signal.
in addition, i also dont understand your answer that based on the nyquist frequency ,why you multiple it by 4?
thank you very much for support.
hello all,
i started to write a code that modulate a QPSK signal and after that i use carrier recovery technique to get the carrier from the QPSK signal.
the technique says that if you multiple the signal by itself four times (power 4 of the signal) and pass the result through band pass filter...
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.