Search Engine

Hamming Matlab

Add Question

1000 Threads found on Hamming Matlab
Hi all, I am trying to do the fft on the digital output of SD modulator in matlab. can anyone tell me how to use the window function in matlab(hamming window) and how to plot the spectrum after this. I am new to matlab programing. Thanks a lot
e.g a='1000001' and b='1110001' --> dist=hamming(a,b); one solution is dist = sum(a ~= b); and other solution is to use pdist Pairwise distance between pairs of objects - matlab
Have you tried searching MathWorks for "DTMF"? This is the first hit: By the way, the DTMF tones in the wav file are 201020. I did this in matlab: x = wavread('batandsplab.wav'); specgram(x, 512, 8000, hamming(512), 500); colormap(bone.^4); ylim();
How about this? N=64; h=fir1(N-1, , hamming(N)); freqz(h,1,512); I think a hamming window has fixed characteristics. If you change its ripple or attenuation, then it isn't a hamming window anymore.
You specified "Welch", and that applies hamming weighting, so you no longer have a cosine wave. hamming weighting spreads the peak and causes sidelobes 42dB below the peak.
There is a matlab demo in help file on PSD. fs = 1000; % Sampling frequency t = (0:fs)/fs; % One second worth of samples xn = sin(2*pi*50*t); Hs = spectrum.periodogram('hamming'); psd(Hs,xn,'Fs',fs,'NFFT',1024,'SpectrumType','twoside') = psd(Hs,xn,'Fs',fs,'SpectrumType','onesided'); Pow = (fs/(2*length(Pxxo)))
The command fir1 in matlab implements digital filters based on the window methods , as you indicated the comand h=fir1(n,wn) returns the nth +1 coeficients of a hamming window lowpass linear filter, the vector h is the coeficients of the filter from wich you will convolve the sample demodulated signal. If you want to use other window than (...)
hi all, i have a question here and i am done with the first part on designing the bandpass filter by writing a matlab script below. _________________________________________ % M file for bandpass FIR filter ws1=0.3*pi wp1=0.4*pi; wp2=0.5*pi; ws2=0.6*pi; tr_width=min((wp1-ws1),(ws2-wp2)); M=ceil(6.6*pi/tr_width)+1 n=; wc1=(w
Hallo guys...I am facing a huge problem to the two questions below cause i have never had used matlab in the past..: 1) Investigate functions available in matlab for GF(2) calculus and repeat a (5, 2) hamming code by using matlab. 2). Design syndrome decoder for Q.5 by using matlab Any help (...)
hi, u can develope some basic encryption and decryption algorithms like RSA, CRC, hamming code for error handling etc. and can develop a crypto syatem. Thanks.. HAK..
Help please!!!! i have sinwave with 0.1 v amplitude and 1khz frequency mixed with 5v white noise. i used FFT in matlab to simulate. 1-(Study the use of additional mean value calculation of every data set of FFT spectrum and how it affects the visibility of a present signal.). so, how can i use additional mean value??????????? 2-W
I am doing a project in speech analysis and would greatly appreciate any help on how to solve the following problem at hand: Problem a. Using linear predictive analysis, autocorrelation method, implement a matlab based vocoder for a speech signal (any recorded tape). Use a 20 msec frame step combined with a symmetrically hamming window of 30 mse
Hi Everybody, I need confirmation check in my project I used a hamming code structure by using matlab, the scenario random data hamming(7,4), (15,11), (31,26) Coder qpsk modulator awgn channel qpsk demodulator hamming(7,4), (15,11), (31,26) Decoder I confused with the results @SNR 10 dB (...)
Hello I need to compare the(7,4) hamming coded bit error probability with the uncoded bit error probabity and a Q function. The matlab code which i have compare the theoretial uncoded ber with hamming (7,4) code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clear N = 10^6 ;% number of bits Eb_N0_dB = ; % multiple Eb/N0 val
Hi, formulas (4)-(5)-(6) gives you the procedure to obtain the coefficients of the FIR filter you need. You must take into account that array indexes in matlab start from 1 instead of 0 like in the formulas. matlab has built-in Gamma and Bessel functions, as well as hamming window. You must have fd, ts and M. And, of course, you must have (...)
Hello , I'm new to matlab , and I wanna solve an assignment the question is to generate 4 windows and compute their power spectral, then generate a 4-by-2 plot where the 1st column has windows plots in time domain and the other column for frequency domain , i wrote this code but i have few problems, I hope you can help, thanks in advance %---
You must to apply some checking code, as hamming, CRC, etc... Here there are some examples with CRC coding : +++
how can we calculate hamming distance using matlab can anybody tell me please its my project help meeeeee
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.
Obtain and compare the magnitude spectrums of Hanning, hamming and triangular windowed 100 and 110 Hz signals using a 20-ms window for each using matlab. how can i do that? i did plot 100 hz signal and made fft and saw the peak on 100 Hz. but how can i apply windows. please someone help me. i am in deep. :/
How to measure bit error rate in matlab using hamming code?
Can anyone please tell me what I need to do to enable me make MAPLAB plot the following outputs against time i.e. 1. Here I am differentiating the system step response, to show that this give the impulse response, but how do I make matlab do ?plot(t,x)? where t is 0 to 8ms and x is the step response differentiated. clear num=[0 0 20210
I am running SuperNEC with matlab 6.1. When I create a structure expecially a more complex one like a cone or a parabola, it takes a very long time to make the structure. It almost takes longer than to run the simulation. Has anybody else experienced this as well? Is this normal?
hi all is there any software which convert matlab code to vhdl? how can i get it? best regards baa110
Hi matlab R12 Toolboxes Image_Processing_Toolbox.exe 20-mar-2002 19:02 48.4M matlab.exe 20-mar-2002 16:41 49.0M matlab_Compiler.exe 20-mar-2002 18:47 12.2M Neural_Network_Toolbox.exe 20-mar-2002 18:49 7.1M (...)
Hi "matlab 5 User contributed M-Files" 1. -> t tnx
i have to make this 2 programs, if anyone could help me out, i would apreciate it: 1- Write a matlab program to compute the first L samples of the inverse of a rational z-transform where the value of L is provided by the user through the command input. Using this program, compute and plot the first 50 samples of of the inverse of G(z) from Eq. 3.3
femlab 2.2 works with matlab 6.5?
read mpeg from
Dear friends: Is it possible to use matlab code (or code translation) in a development under Delphi or Visual basic?. How can do it , what's the better way? I understand that matlab provides a compiler to C, C++ code, but how can I link this code with a delphi application? Thanks great peopple Nebisman
Hi matlab R12 !! Toolboxs for D/L 1. -> t tnx
matlab Program in the book " RF Circuit Design Theory and Application " by R. Ludwig and P. Bretchko
I need to simulate the electromagnetics of a three phase transformer in matlab/Simulink. ANy thoughts? Git
Can someone explain how matlab can be used for DSP development? Is it possible to make a filter in matlab and magically implement that in hardware? - Jayson
HI... I need to simulate an ABS (antilock Braking system) in matlab. But i don't know how i can do it?? IF any body can send me any Books (PDF) or sites learn me about Simulation ABS in matlab, Or you Of course.... Thanks
HI... I need to simulate an ABS (antilock Braking system) in matlab. But i don't know how i can do it?? IF any body can send me any Books (PDF) or sites learn me about Simulation ABS in matlab, Or you Of course.... Thanks
I'm a beginner in FDTD programing. Anyone have a matlab code to solve the irregular grid problem?? THX
hai, pls explain how to convert matlab m file to c code bye
Anyone gets S-Parameter simulation script(matlab or perl etc) to do freq / time domain simulation?
Dear Friends, Please help me to get matlab code(.m) for the following analysis(just example)..... Need your help to get the codes/paper/thesis/project....Any parameters analysis(such as gain/impedance/return loss..etc..) Circular microstrip antenna/patch antenna Ring microstrip antenna Anular patch antenna.... Thanks in advance.. B
hi could anyone please tell me how to convert matlab m files into c code? thanks
hi anybody has matlab code or any program to plot radiation pattern of different types of antennas (dipole,...) both 3d and in the planes xy,yz,xz,... or any other plane thanks
Hi all, I wanna code a matlab program that calculates maximum gain for a given transistor S parameters and draws constant gain circles for a microwave amplifier. eg. for constant gain circle: GA=Gamax-1.5dB . Then after selecting some gammaS values on that circle, for each gammaS I'm gonna determine gammaL that lie on constant (VSWR)out=1.7 a
I have a data file of a signal I captured on my oscilloscope, the data contains time and voltage for each measurement. Is it possible to import this text file into matlab and create a DSP model that uses the data file as input and runs a filter algorithm on it and then somehow using SystemGenerator export that to a VHDL program and dump the whole f
Are there anybody have a 3D FDTD matlab code with PML ???
Dear Friends, Could you help me to get a matlab program to calculate a Green function for circular microstrip antenna??/ Anyone has experienced with matlab for Green function???? Anyone has experineced with matlab for simulation in circular/ring/dics microstrip/patch antenna??? Need the source code/ to work with this kind of (...)
In matlab is there a way to extract the frequency from a bode plot for a given magnitude? You can extract the magnitude for a given frequency, but I want it to be the other way around. Thanks
If I have E field and H field. How can I plot an antenna pattern? Anyone can provide a matlab code to do this ??
Such as Impedance vs Frequency Directivity pattern Elevation pattern Radiation impedance vs. wavelength Others
little matlab demo of fractional derivative..enjoy N=256; t=pi*/N; f=exp(-(t.^2)/(0.5)); f=f-mean(f); F=fftshift(fft(f)); figure(1);clf;set(gcf,'Renderer','zbuffer'); for n=0:0.1:4 Fn=(j*t).^n .* F; fn=ifft(fftshift(Fn));fn=fn/max(abs(fn));plot(real(fn)); text(20,1.0,sprintf('%0.2f',n)); grid on;axis( [0 2*N -1.