DSPRelated.com

help needed , plotting a signal

Started by chriskatsis in Matlab DSP21 years ago 7 replies

Hi everyone, Just one little question. I want to plot a signal y (where y is a column of a matrix). The sampling rate was 500Hz Is...

Hi everyone, Just one little question. I want to plot a signal y (where y is a column of a matrix). The sampling rate was 500Hz Is there a way when using the plot command (i.e. plot(y) ) to view the time (x ax) in seconds and not in sampling points? Thank you in advance Christos Katsis


how to convert recorded speech sampling?

Started by khaifahaluk in Matlab DSP22 years ago 3 replies

i'm new here, i am doing my university project on speech recognition, if somebody could tell me how to convert recorded speech...

i'm new here, i am doing my university project on speech recognition, if somebody could tell me how to convert recorded speech sampling? i've already try using resample code from matlab, but the result was that the sound of speech file dosen't sound very nice. the code that i use was


Incorporating different sampling rates.....

Started by MSCS039 in Matlab DSP23 years ago 1 reply

Hello, I have a couple of questions regarding control system simulation: -- How could I incorporate different sampling rates...

Hello, I have a couple of questions regarding control system simulation: -- How could I incorporate different sampling rates in a single feedback system using Simulink ? Can simply having different 'sample time' values (relatively prime) in different blocks solves the p


Nonuniform SAmpling FIR

Started by Emhemmed B Limsailkhi in Matlab DSP25 years ago

>Hi .... We are developing a nonuniform frequency sampling FIR digital filter (lowpass) with linear phase using Matlab5.3 and DSP...

>Hi .... We are developing a nonuniform frequency sampling FIR digital filter (lowpass) with linear phase using Matlab5.3 and DSP toolbox (I dont remember the version of the DSP), however, We have arrived to a stuck point in the code becouse i am not very pro in Matlab. We have de


bandpass sampling

Started by shobha shivarudraiah in Matlab DSP25 years ago

hi, i need to plot the bandpass signal sampling waveforms. (something like fig 2.9 ,pg 37 in understanding digital signal...

hi, i need to plot the bandpass signal sampling waveforms. (something like fig 2.9 ,pg 37 in understanding digital signal processing by richard g.lyons) i dunno how to do it.. can anyone help me...


How to record sound in Matlab?

Started by senthilpr_in in Matlab DSP24 years ago 1 reply

Hi everybody, I'm working on a project on speech recog. How do you record sound in matlab at a sampling freq of 8192Hz. Currently...

Hi everybody, I'm working on a project on speech recog. How do you record sound in matlab at a sampling freq of 8192Hz. Currently i'm using windows sound recorder to record the sound at a sampling freq of 22050 Hz which is too much for me. format conversions leads to inaccurate


sampling rate ????

Started by prijit debnath in Matlab DSP24 years ago 6 replies

hello, i am a new student of dsp. we know for a bandlimited signal,in order to avoid aliasing the samplig rate should be >= 2*...

hello, i am a new student of dsp. we know for a bandlimited signal,in order to avoid aliasing the samplig rate should be >= 2* maxfrequency..... but what should be the sampling rate for a signal whose spectrum is from (10-25)hz (say)... i.e. for a non-baseband signal..


Problem in Bandpass filter, passband reappear after half sampling frequency

Started by Henry Chang in Matlab DSP24 years ago 3 replies

Hi all, I am beginner in digital filter design. Currently, I am designing a bandpass filter cut-off at 500hz and 1.8khz, with...

Hi all, I am beginner in digital filter design. Currently, I am designing a bandpass filter cut-off at 500hz and 1.8khz, with sampling frequency 6k Hz. I use butterworth filter with order 6 according to the specification. However, when I try to plot the signal, there is


Sampling

Started by sevincbayram in Matlab DSP24 years ago

Hi! ? am new for matlab and i want to learn how to do sampling with matlab.For example my problem; i take a wav file and read...

Hi! ? am new for matlab and i want to learn how to do sampling with matlab.For example my problem; i take a wav file and read it with u=wavread('b'); now i have to sample it with n=1000 samples.Can anybody help me? Thanks in advance. Sevin? Bayram


recursive frequency sampling filter design

Started by Appalayagari Sreedhar in Matlab DSP23 years ago 1 reply

Dear all, I am working on the recursive frequency sampling filter design. My confusion is, I read the theory saying that as...

Dear all, I am working on the recursive frequency sampling filter design. My confusion is, I read the theory saying that as it contains the poles.and also exactly pole zero cancellation occurs to give the stability. in case of fir filter using remez or any,


Variable Rate Sampling

Started by imranshoaib00 in Matlab DSP23 years ago

Hi, I have to complete my DSP project "variable rate sampling (audio)" till the 10th of December,2003. I have been instructed that...

Hi, I have to complete my DSP project "variable rate sampling (audio)" till the 10th of December,2003. I have been instructed that I have to take the input directly through mic and process it in MATLAB. I am using MATLAB 6.5 release 13. I know the algorithm and commands for


recursive frequency sampling filter design

Started by Appalayagari Sreedhar in Matlab DSP23 years ago

Dear all, my problem straight away, i am doing recursive frequency sampling filter design, in matlab i design the...

Dear all, my problem straight away, i am doing recursive frequency sampling filter design, in matlab i design the filter coefficients, i gave the format long at the top and received the 15 digits for representation after decimal point. does this give


help with down sampling

Started by d_naidu in Matlab DSP23 years ago

Hi guys.. Can anyone help me how to spin and de spin the data in matlab and then pass it into a matched filter and down sample...

Hi guys.. Can anyone help me how to spin and de spin the data in matlab and then pass it into a matched filter and down sample it... Actually I got to the point until de-spinning it but don't know how to do the down sampling part... Hoping 2 c any response... Div


Sub-Nyquist Sampling

Started by Roush, Craig Ryan \UMKC-Student\ in Matlab DSP23 years ago 4 replies

I am having some difficulty understanding the sub-nyquist sampling theory. For example: if you have an ADC that can only...

I am having some difficulty understanding the sub-nyquist sampling theory. For example: if you have an ADC that can only operate at 250MHz, then the max bandwidth is 125MHz. However, if I wanted 1000MHz and I want to use the same ADC, the bandwidth would "fold"


How to plot freq response for a combined filter

Started by egan_nc in Matlab DSP23 years ago

Hi, Can anybody help me plot a combined frequency response of 2 filters in Hz? Hk=Hk1.*Hk2; The sampling freq for Hk1 is 96Khz...

Hi, Can anybody help me plot a combined frequency response of 2 filters in Hz? Hk=Hk1.*Hk2; The sampling freq for Hk1 is 96Khz and the sampling freq for Hk2 is 24Khz. figure(1) plot(96e3*w/(2*pi),20*log10(abs(Hk2)),'y'); hold on figure(1) plot(24e3


?? sample rates more than 100kHz

Started by ravikiran_dn in Matlab DSP23 years ago 2 replies

hi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz...

hi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz sampling rate, then more and more samples has the same value; getting a random step waveform. If any body knows how to obtain higer sample rates of th


I need more information about the resample command

Started by sys7...@yahoo.com in Matlab DSP18 years ago

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 ...


Modeling OFDM multipath channel in Matlab

Started by dani...@yahoo.com in Matlab DSP18 years ago 3 replies

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 ...


Ripple value in Matlab firpmord function?

Started by datu...@gmail.com in Matlab DSP18 years ago

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^(...


DFT spectral analysis

Started by sale...@gmail.com in Matlab DSP18 years ago 4 replies

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...