Forums Search for: Sampling
PSD....
Can someone send me a sample code to do PSD of a signal in matlab, the sampling frequency is 250hz. regards, Srinivas
Can someone send me a sample code to do PSD of a signal in matlab, the sampling frequency is 250hz. regards, Srinivas
help me sample this modulated signal
hi, i m attaching my code kindly help me sample this modulated signal consisting of four channels each at carriers 400,1000,1600 and 2600HZ...
hi, i m attaching my code kindly help me sample this modulated signal consisting of four channels each at carriers 400,1000,1600 and 2600HZ respectively. see also the time domain envelope of the composite signal being AM modulated at these four carriers and the fourier spectrum... how can i implement sample rate variation to extract these four channels??? (impulse train sampling is pref...
How can I distinguish the composite wave with DFT?
Hi,everyone, Happy New Year! I have a wave y(t) composed of two cosine waves and white noise ...
Hi,everyone, Happy New Year! I have a wave y(t) composed of two cosine waves and white noise y(t)=A1*cos(w1*t+phi1)+A2*cos(w2*t+phi2)+w(t); phi1 and phi2 are phases; first, let w(t)~N(0,sigma^2)and white; sampling frequency fs> =2*f2, f1
Frequency response function (FRF) from input and output with different sampling frequency
Dear scholars, My present work centres on extraction of modal parameters from the plots of magnitude of frequency response response functions,...
Dear scholars, My present work centres on extraction of modal parameters from the plots of magnitude of frequency response response functions, FRFs, versus frequency. FRF is simply the ratio of the FFT of the response (output) to the FFT of the excitation (input). My questions can be summarised as follows: 1. The time histories of the response and excitation are 250Hz and 500Hz respectively....
zero padding question
I have a question that has been bugging me fo rsome time and I am hoping someone here can help me get to the bottom of it. It is a zero padding &...
I have a question that has been bugging me fo rsome time and I am hoping someone here can help me get to the bottom of it. It is a zero padding & FFT issue. Here goes; If I take 2 random signals for deconvolution (say 1000 samples and 1500 samples long with same sampling time). If I zero pad both out to 4096, take FFTs, devide one by another, then take iFFT, I get a graph of one signal deconvo...
Need help on FFT error msg
Hi everyone Tried to write the program for the following question and got the error msg. Appreciate anyone's help please!...
Hi everyone Tried to write the program for the following question and got the error msg. Appreciate anyone's help please! Thanks. QUESTION A signal is represented by the expression: f(t) = 10 sin (1.5t) + 5 sin (2.5t) + 2.5 sin (5t) + 1.25 sin (10t) Use MATLAB to obtain a spectrum (magnitude only) of the signal reconstructed from the sampled signal if the sampling frequency is: a) ...
DFT spectral analysis
Hi, I'm having trouble with a homework question. Suppose I'm given a signal x[n], which is obtained by sampling at a frequency of 2kHZ.Using...
Hi, I'm having trouble with a homework question. Suppose I'm given a signal x[n], which is obtained by sampling at a frequency of 2kHZ.Using matlab I plotted its spectrum (vs. frequency) and got the following: http://img141.imageshack.us/my.php?image=dft1cc2.jpg The question is (quote): "Can you retrieve any information about the distribution of frequencies as a function of time?" Wha...
Ripple value in Matlab firpmord function?
Hi Experts, I use matlab firpmord function http://www.mathworks.com/access/helpdesk/help/toolbox/signal/firpmord.html In help file it give...
Hi Experts, I use matlab firpmord function http://www.mathworks.com/access/helpdesk/help/toolbox/signal/firpmord.html In help file it give the following example: rp = 3; % Passband ripple rs = 40; % Stopband ripple fs = 2000; % Sampling frequency f = [500 600]; % Cutoff frequencies a = [1 0]; % Desired amplitudes % Compute deviations dev = [(10^(...
Modeling OFDM multipath channel in Matlab
Dear all, I am a newbie and I have a basic question which I would like to get clarified. My intention is to simulate 802.11a which is based...
Dear all, I am a newbie and I have a basic question which I would like to get clarified. My intention is to simulate 802.11a which is based in OFDM. From the 802.11a standard I know that: -Number of Subcarriers, Nsc = 64 -Sampling Rate, fs = 20e6 sample/sec -BW = 20MHz -Carrier Frequency, fc = 5.25Ghz Now imagine that I have the following multipath channel: taps_delay = [0 10ns 20ns ...
I need more information about the resample command
Can anyone direct me to a good reference on learning how Matlab processes data via either the "resample" command or the "interp" command in the...
Can anyone direct me to a good reference on learning how Matlab processes data via either the "resample" command or the "interp" command in the Signal Processign Toolbox? I need to understand what the other parameters in resample do. Context: I am building a simulated WiMAX signal that can be played out of an arbitrary wavefom generator. I have to make a sampling rate up-conversion to allow ...
wavelet transform
Hi, I have a few problems, looking for there solutions: How to set filter type, length, order?and sampling rate using DWT command? I mean how...
Hi, I have a few problems, looking for there solutions: How to set filter type, length, order?and sampling rate using DWT command? I mean how all parametrs that we set in fdatool, can be adjusted in dwt comman. secondly, how wavelet (haar type) transform of a 1 sec audio clip can be computed in simulink. I mean which block is required. regards Morgan J.
Re: FFT Frequency plot
maybe you can try this one. this is M-file ONLY to show how to develop sinusoidal signal with some modulation & show it in frequency domain....
maybe you can try this one. this is M-file ONLY to show how to develop sinusoidal signal with some modulation & show it in frequency domain. hope this will help you Nf = 800; %choose number of frequency data fs = 256; %choose sampling frequency Nt = Nf*2.56; %compute number of time dom. data T = 0:(1/f...
matlab and adding step functions
I'm new to Matlab, and I would like to know how to add step functions. I came up with a function y = u(t)where y(y> =0)=1 and y(y
I'm new to Matlab, and I would like to know how to add step functions. I came up with a function y = u(t)where y(y> =0)=1 and y(y
Basic SNR question
Hi, I am kind of new to Signal Processing. I have two questions 1. I have a signal source, a in the lab, for eg. a 20kHz sine...
Hi, I am kind of new to Signal Processing. I have two questions 1. I have a signal source, a in the lab, for eg. a 20kHz sine wave generator. I connect it to a spectrum analyzer. I can see the frequency spectrum of the signal. Can somebody explain to me how I can calculate the Signal to Noise ratio from the spectrum analyzer. I have no way of sampling the 20kHZ sine wave, the signal gene...
How to use Matlab M-file to create Pulse Code Modulation??
Hi, I am newbie in using Matlab and I have some problem creating M-file that demonstrate the working of a Pulse code modulation with Analog...
Hi, I am newbie in using Matlab and I have some problem creating M-file that demonstrate the working of a Pulse code modulation with Analog Digital converter. This is the problem I am facing now. By assuming that you have a triangle signal with max voltage of 10 V, demonstrate the working of a ADC with 8 bit output and how to obtain the quantization error and the sampling rate you use ...
channel object of matlab
dear all ? does any body use Channel Object of matlab for ofdm signal. like chan = rayleighchan(ts,fd,tau,pdb); ## this is my case Nfft =...
dear all ? does any body use Channel Object of matlab for ofdm signal. like chan = rayleighchan(ts,fd,tau,pdb); ## this is my case Nfft = 1024; BW = 10*1e6; % Factor of correction n=28/25; % sampeling factor .see ieee 802.16e part 8.4.2.3 % Derived Parameteres 8.4.2.4 ieee 80.16 2004 Fs = floor(n*BW/8000)*8000; % Sampling frequency deltaF = Fs / Nfft; % Subcarrier spacing. Tb = 1...
Tracking certain frequencies over time
Hi everybody, Thank you for sharing valuable information in this forum Here is my problem. I am continuously collecting vibration data from a...
Hi everybody, Thank you for sharing valuable information in this forum Here is my problem. I am continuously collecting vibration data from a set of bearings on a spindle. I am interested in tracking certain bearing related frequencies such as outer race ball pass frequency (BFPO), etc, in order to determine the state of the bearings (healthy operation, worn out, ...) My sampling rate is s...
How to implement the timeline with a L band signal
Hi to everyone, I need to plot the PSD of a L band signal and I don't know how to define the timeline without having this error: "Maximum...
Hi to everyone, I need to plot the PSD of a L band signal and I don't know how to define the timeline without having this error: "Maximum variable size allowed by the program is exceeded". The point is that I have problems with memory due to the high frequency I'm using. If the carrier is 1.3 GHz, the sampling frequency must be 3 or 4 times higher and matlab runs out of space and, therefore,...
how to design LPF given i/p signal its sampling freq, reqiured o/p, in MATLAB
Hai everyone, I have an i/p signal x = 1 +0.5* sin(pi*t) where t = [0:0.01:5], basically a signal sampled at 100 Hz. I need to filter out the...
Hai everyone, I have an i/p signal x = 1 +0.5* sin(pi*t) where t = [0:0.01:5], basically a signal sampled at 100 Hz. I need to filter out the d.c. component i.e. get 1 as a constant output so for which I have to design a low pass filter. can any one tel me how to design low pass filter in MATLAB Thank you
doubt reg adding randn function to a sinusoidal signal to get noisy time domain signal
I saw a code in mathworks.com which analyses the freq components of noisy time domain signal by explicitly plotting power Vs freq fs=1000; ...
I saw a code in mathworks.com which analyses the freq components of noisy time domain signal by explicitly plotting power Vs freq fs=1000; % sampling freq T=1/fs; %sample time L=1000; % signal length t=(0:L-1)/T; %time vector x=0.7*sin(2*pi*50*t)+sin(2*pi*120*t); % i/p signal i.e., two sinusoids were added Now , we have noisy time domain signal b...






