Search Engine www.edaboard.com

114 Threads found on edaboard.com: Matlab Sampling Frequency
Without knowing details of matlab command, different frequency results for different Fs would happen if your sampling freq was a sub-frequency of the sampled one. I.e. when you do sub-sampling and the aliased component only is output. Is your example case a real case or hypothetical ? I cannot work out (...)
hi my specifications are passband frequencies are 200 and 315 for a band pass filter i have to design a filter bank with a range of frequencies. this is first frequency band i have to design a fir filter bank form 200 to 7500 hz. my sampling frequency should be more than 15000 i took it as 16000. the stop band (...)
I try to get a first order notch filter at 50hz and sampling frequency(Fs) 200 Hz in matlab I wrote some code but didn't work dt=1/200; //1/fs t=0:dt:0.2; x=cos(2*pi*25*t)+cos(2*pi*50*t); y=filter(x,------); //I dont know what I must write here plot(Y(w)); //I must write here laplace of y(w) How can do that
I have simple smooth time signal with different time periods. I would like to transfer period over the time to frequency, and to present frequency changing over the time, I would call it Instantaneous frequency? Here is matlab Code, is it right? x = data; z = hilbert(x); N = length(z); fs= sampling (...)
sampling frequency should be as low as possible to allow handy filter order, but must at least fulfill the Nyquist criterion for the input signal. You can play around with the matlab filter tool to get a feeling of meaningful filter parameters. I find IIR filters more effective for my range of applications.
Hi, I have this filter: d = fdesign.pandpass('n,F3dB',3,50e3, 200e6); Hd = design(d,'butter'); which I want to plot at a central frequency of 868.3 MHz. Could you pleaase help me with this? Thank you in advance!
Hi all, I want to design filter to implement on FPGA with a mentioned parameters in subject but when i am starting to design it on matlab fdatool, it gives very high order filter result, and when i decrease or set by myself upto 10 order its impulse response is not good as i want. Any idea will be highly appreciable. Regards, Umair
Hi there! I have an assignment that goes as follows: Pulse compression by using a Linear FM signal 1) Consider a (real) Linear FM signal with a center frequency, f0= 1250 MHz, a bandwidth, B = 100 MHz, and a length, T = 0.15 ?s. - What is the required sampling frequency, fs? - Derive an
Hi, I understand u have data with 100 samples per second ( assuming dt = 0.01s is the sampling interval) this will give your nyquist frequency as fs/2 = 50 Hz, this is important as the cut off frequency of your filter is normalized with respect to the nyquist frequency. fc is your cutoff frquency you need to ge
Do you use matlab? If so, consider an approach like this: close all; clear all; clc; % Define sampling times dt = 0.001; t = (0:dt:5).'; % Sine frequency f = 3; % Amplitudes A1 = 2.6; A2 = 0.7; % Phases phi1 = 0.4; phi2 = -0.3; % Sinusoids x1 = A1*cos(2*pi*f*t + phi1); x2 = A2*cos(2*pi*f*t + phi2); % Estimated am
Hello All, The code for ASK-4 is as follows: N = 8; % The number of bits to send - Frame Length bit_stream = round(rand(1,N)) % Random bit stream A1 = 3; % Amplitude for 0 bit A2 = 5; % Amplitude for 1 bit f = 3; % frequency of Modulating Signal fs = 100; % sampling rate t = 0:1/fs:1; % Time for 1 bit % This time variable is just for p
Hello!!! I am not able to generate Sine wave of frequency 200Hz when configured PWM frequency of PIC16F877A to 10KHz and PIC is operating at 20MhZ Crystal. This is matlab Code to generate table. fsampling = 10000; %10Khz sampling Rate F = 200; %200hz frequency (...)
Hi, I have post this question to matlab but no one answer :(. Hope someone help me in here. I have tried to plot the chirp signal from 20MHz to 70MHz in time domain and frequency domain. The target time and sweep time is set to 3 ms. Normally I see slew rate =1s, dont know why?. sampling time = 140 us and samples per frame = 4096. The (...)
hi guys, when i generate a random data in matlab and i want to apply a lowpass filter to these data , how can i identify it's maximum frequency in order to determine the sampling frequency that i will use as an input to my filter for example : x=randint(1,10); %%% random bits a=modem.pskmod(4); %%%% QPSK object (...)
I should design a digital filter of first order ADC Sigma-Delta converter with 8 bits, an over sampling ratio of 64 (OSR = 64),and sampling frequency of 10.24MHz.I make it with matlab SIMULINK as shown in this
Hi there, I have a problem with the phase of my differentiator. I designed it with two methods (frequency sampling and Remez algorithm) in matlab (fir2 and firpm) when I use a filter types with odd-order everything is right. If I take one with even order I had a phase-shift between the input and the output which dependet on (...)
dear; is it a course work? first try ur self; if u stuck post the code. see dft help in matlab details. Savor,Best
i hv written code for sigma delta modulator of DAC in matlab, i m taking input frequency 20khz and nyqiust frequency 48khz,over sampling ration 128.i got spectrum of modulator using hanning window with frequency 3000(normalised frequency) but really i confused how to measure SNR of this (...)
hi, can u please tell me how I can calculate the fir filter coefficient calculation in matlab using frequency sampling method and window method for 16 taps.
well in this I disagree, since increasing the sampling speed ofcourse helps, e.g. (and can test on matlab simply) if 1 Khz signal is sampled using 3 Khz the result is actually almost no use. while increasing the sampling rate will increase the quality of signal. Simply put the more the sampling rate, the less is the (...)
Hi all, I have never done a lot with matlab but have an assignment to do the requires me to use stem functions to investigate natural sampling of a single base band frequency. I have got the sampling frequency done using the stem functions but am not sure how to go about combing the two. The info signal (...)
Hi Friends, Please help me how to sample a signal in frequency domain using PIC16F877A. as like we sample in matlab giving a input signal and sample. I need how to frequency sample a signal using PIC 16F877A. Thnx in Advance
Hi everyone, I hope to be helped as soon as possible... I'd like to sample a signal in matlab which i dont know the time domain formula... i know the frequency domain one and i used ifft to obtain the time domain and i am chasing for a command which gives me sampled signal in my desired sampling frequency and i am sure this (...)
Dont implement passband simulation of such a high frequency. I think it is a solver problem (menu Simulation - Configuration parameters). The internal default matlab sampling frequency. I placed in an empty model sine wave generator and scope. Set your frequency and set the configuration parameter for (...)
Hello friends, I am facing problem in implementing IIR filter. I have determined the coefficient for the first order Butterworth filter using matlab FDATOOL with sampling frequency 2000 Hz and cutoff frequency 100 Hz and used it to filter the AC signal but it isn't working. To implement this I took the adc sample in (...)
i am using matlab to analyse audio signals .i am using r2008a student version and don't have many options for plotting the frequency i ended up with 'freqz' function which plots magnitude (dB) vs normalized frequency.but during filtering i need to know the actual frequency range i am filtering.say i need to filter 700 hz to (...)
Pass band 4-6 kHz Transition width 0.5kHz Pass band ripple 1dB Stop band attenuation 50dB sampling frequency 20kHZ FFT frame length 512 a) Apply the optimal method to design and implement (i) the pass band and stop band ripples (ii)The filter order and filter length N (iii) Filter realization structure b)write matlab program
Hi, I need to apply the Doppler effect to a music file, I invoke the music file by using the waveread command, How do I proceed next (frequency spectrum, apparent frequency etc.)?
Hi, I would like to run the QPSK at 13.56 MHz of carrier frequency. Any one have a matlab code please send me one. I have tried to write this code but did not work at 13.56 MHz. Wont know what wrong is my code?. In my code, I write the carrier at 13.56Mhz and sampling frequency at 120KHz. When I take FFT of signal it (...)
I have designed the SAR ADC of 8 bit with sampling frequency of 1MHz in cadence.For calculating the dynamic performance , i have used code provided by Maxim . for exporting data , i have used the tool called TABLE in cadence and saved as . csv file and for processing , i deleted the time and heading of Table and saved as txt file and fed to the mat
Use the matlab FFT command Scale / calibrate the frequency data with the sampling rate data and number of time domain samples Scale / calibrate the amplitude data with the number of time domain samples
hello. i am having some problem on demodulating my signal maybe some one can help me below is my code %% create DATA fc=13.56E6; % carrier frequency fm=fc/32; % modulation frequency fs=fc*4; %sampling frequency tb=512/fc; %time length of 1 bit To=8*tb; %length of 8 bit (...)
Heya Scott - unevenly sampled data is a turd! Two options spring to mind: 1. Resample the data onto a 1ms grid and go from there, or 2. Use spectral estimation techniques that don't rely on regular sampling, such as the Lomb-Scargle periodogram described in Numerical Recipes ( ). I see someone has kindly written a function
Hello I need to design FIR filter with cutoff frequency 100 Hz (with attenuation 3 dB at cutoff frequency), sampling frequency = 1000Hz and having 3rd order Butterworth characteristics, using the various types of window functions Can anyone give me some ideas on how to do this? Also, could you please tell me how to do (...)
Hi everyone. This is my first thread and I really need help. I have to create 16QAM constellation diagram in matlab. Here are my data: frequency of carrier is 8000khz and sampling frequency is 32000khz. Amplitude is 5000(dont know if you need this). Here is my code in CCS (if is any help): #include "tonecfg.h" #include (...)
Hi All, I have done conservative transient simulation in Cadence after doing ADC. I am trying to post process the output in matlab using FFT. I have a 10ns period (sampling) but in between periods I have almost 400 points of data in between. This makes it hard to calculate the downsampling frequency since the number can (...)
Dear All, I am trying to implement an FIR band pass filter using fir1() function but I am confused in normalizing the frequencies.Whether I had to divide my frequencies by fs or fs/2 for normalization to be used as Wn. Which one will give me the correct results?I had divided my band freq range by fs/2
Hello Everyone I have a speech signal that I have read using wavread, whose details are: Sound is a vewel 'a' sampling frequency = Fs = 44.1Khz Sample values = data I need to estimate the first three formants f1,f2,f3 of this vowel. Can any body provide me some matlab code or routine that could estimate the formants for this (...)
Hi can anyone help me choose the best function in matlab to implement fir low pass filter given the following specs. 1. sampling frequency, Fs= ( 1.08332e6) 2. number of samples, N = 21. 3. Passband ripple, Apass= 0.01dB. 4. Stopband ripple, Astop= 40dB. 5. Passband edge freq, Fpass = 80kHz. any help will be greatly appreciated. thanx..
Hi, I am simulating vibrations in simulink and processing my results in matlab. I am trying plot the PSD for my acceleration results using pwlech method. When I plot the PSD plots from the methods below (NOTE:I have a sampling rate of 0.006 so that means I am using a sample frequency of Fs=1/0.006=166) Pwelch(x,,,2024,fs) Or =pwel
thanks andre. but is there some problem in my code. my book question says DFT (a) generate a sinusoid 05 .5 Khz with sampling freq 6 Khz (b) plot the original signal using stem I think first two parts are done. the third part says abt complex exponentials can u also help me to write matlab code to compute its complex exponentials.
when i want to calculate the SNR of output of sigma delta i run the design on cadence for 6 sec(as i have input=100hz &sampling frequency =50Khz) and i take it on matlab to calcsnr when i take samples very close from end the snr become 97db but when i go to the middle it become 60db so how many samples i take from the file and from where
As far as I understood your question you can simply group all the signals in a single vector. The command is: ytot = ; Please check the synopsis in matlab, since I'm actually using Scilab (however I think shouldn't be different)
Hello all, Can anyone please tell how generate random data in matlab with a specific data rate..!! or a binary data stream with say sampling frequency of 20MHz..??? :?:
Hi, I have a project called "pitch detection using LPC parameters with matlab code".The input voice is lowpass filtered a cut off frequency of about 900Hz and then the sampling rate (nominally 10kHz) is reduced to 2kHz by a decimation process.The decimated output is than analyzed using the autocorrelation method with a value of p=4 for the (...)
can anyone help me writing source code in matlab for FIR filter design using Genetic Algorithm re
Hi, I have a signal witch spectrum (calculated with matlab fft) is 70 Hz wide. But I really need only the first 5 Hz. Is there any way to "concentrate" the fft only on that part of the spectrum? In this way (maybe) I can use the 1024 fft points only in the first 5 Hz, instead of 70 Hz, increasing a lot the resolution.. Thanks, bye, Vale
Dear define Order of filter. I think matlab is a good teacher also use matlab help. cutt of frequency is defined as (cutt off freq/sampling rate) try this in your function defination
I am trying to replot FFT of following signal in matlab But i am not getting exact result Signal having sampling frequency is 1024 Hz and the sampling time is 1s and for more description please find attached file Its very urgent PLEASE help me thank u in advance
Given 2 modulating message signals (I and Q): SI(t) = 0.5 sin(2pie 10t) + sin (2pie 20t ) SQ(t) = 0.7 sin (2pie 15 t) + 0.3 sin( 2pie 25t ) carrier frequency , fc = 500 Hz sampling frequency, fs = 63 kHz using QPSK Modulator What is the matlab coding for the simulation to obtain the plot of the amplitude spectrum (...)