MATLAB (MATrix LABoratory) is a numerical computing environment and a fourth-generation programming language. Use this tag with care.. see excerpt.

learn more… | top users | synonyms

0
votes
1answer
6 views

Is there any reason that cross correlation would perform well or poorly on sparse binary arrays?

I am using matlab xcorr to correlate simulated photon count data that has some Gaussian random noise set on top of it and it is working fine when the average value ...
0
votes
1answer
10 views

How to change the angle unit labels on polar plot in MATLAB?

I hope this is not off-topic. I'm wondering is there anyway to change the default angle unit label in MATLAB polar plot. The default angle label is from 0 to 360, at 30 increment. It goes like ...
1
vote
0answers
30 views

Fourier Decomposition

Hello everyone have a look at this video of Fourier Decomposition of an image(otherwise you can also refer the image which shows few plots of different extracted waves from an image) . We also know ...
0
votes
0answers
7 views

Multilayer perceptron

i am doing a project on Keyword spotting.here i have to segment the word spotted.but i am stuck here in doing the coding for segmentation.i m going to use MLP(Multilayer Perceptron) for ...
0
votes
1answer
18 views

Lane detection and tracking using B-snake?

I am truly sorry if my question sounds little bit stupid, but I am getting stuck at this part for a long time. I am currently working for my final year project of lane detection for curved road using ...
2
votes
0answers
30 views

Analyzing accelerometer data: appropriate use of rotation matrices?

I'm working on a project in which a rod is attached at one end to a rotating shaft. So, as the shaft rotates from 0 to ~100 degrees back-and-forth (in the xy plane), so does the rod. I mounted a ...
1
vote
2answers
95 views

Finding the Harmonics contained in an Image?

I am beginer in image processing. Any signal whether it is 1D,2D or any multidimensional signal can be represented using combination of number of sine and cosine wavesforms (harmonics).Similerly any ...
0
votes
1answer
33 views

ICA - Exercise Problem from book - Matlab Code

Im trying to do a problem of ICA from a Image Processing book, but when I finish I got the Matrix C different from the one in the exercise. This is the Exercise: This is my Matlab Code: ...
0
votes
1answer
47 views

FIR filter coefficients from frequency responses

I have frequency responses of FIR filter of order 13 from obtained 50 frequency samples. How can I get FIR filter coefficients of order 13? For example, in MATLAB a lot of possible ways I tried ; I ...
0
votes
0answers
18 views

DTFT of beat signal with shift due to multiplication

I am simulating a FMCW radar and I have created the transmit signal and it comes after some delay and then its multiplied with the transmitted signal to get the beat signal. Since during the ramp ...
0
votes
1answer
23 views

Modulation of data bits into complex symbols in MATLAB

In communication theory, a modulator takes the input sequence and and maps it to some complex numbers. In MATLAB the following commands can do that. ...
0
votes
2answers
35 views

Simulation of a pressure field developed by a song

Greetings! What I am doing: In short, I want to write a program that is fed a song as a wav file, and spits out an animated contour plot indicating the relative pressure/loudness/quantity indicating ...
-2
votes
0answers
9 views

Multivariate Wavelet [closed]

I am new in Digital Signal Processing.I am working with wavelet but I do not have source code for multivariate wavelet decomposition for 1D data.plz any body help me on this.
0
votes
0answers
14 views

gender recognition using cepstral analysis in matlab

First I am dividing input signal (typically 32000 samples at sampling frequency 8000) into so many frames, and then doing cepstral analysis to each frame to find pitch , So, I am getting various ...
0
votes
0answers
23 views

short time energy matlab code for audio feature extraction

Is there code in matlab for short time energy feature extraction in matlab?? I want to extract audio feature (Short time energy) using matlab code
0
votes
1answer
25 views

Simple VAD (Voice activity Detector) implementation

I am to classify few recorded phone calls as either containing speech or not by sampling lets say first 10 seconds. The files contain either silence, dialtone or ringtones, or real human voice. I ...
-1
votes
0answers
35 views

integrate/ differentiation of discrete signal in Matlab

if I have a sinusoidal signal constructed using Matlab (discrete signal constructed from samples) fs=1000; t=0:1/fs:1-1/fs; x=5*sin(2*pi*40*t); plot(x) what ...
0
votes
0answers
24 views

Is it possible to calculate the variance of signal in real time implementation? [duplicate]

In communication system, when we received some signal which contain our message of known variance sigma_s which is corrupted in noise of unknown variance. If I need the variance of the signal in ...
0
votes
0answers
31 views

“Quantifying” rotational acceleration from an accelerometer

I hope this post isn't too long, but I'm desperate for help and want to be pretty detailed/specific. I have recently built a system where a rod is attached at one end to a rotating shaft. So, as the ...
0
votes
1answer
13 views

position of null carriers in N=256 subcarier OFDM

can anyone tell me the position of null subcarrier in $N=256$ subcarrier OFDM. since edges re assigned null to prevent interference from an adjacent symbol, i assuming that the subcarrier $-127$ to ...
0
votes
1answer
52 views

How can I Enhance this license plate images to binarize - image processing LPR

I have some License Plate images, I want to Binarize this plates to read by OCR, How can I Enhance this plates to improve results of my binaraization? some of my results: ...
0
votes
0answers
22 views

How to threshold medication boxes against black background?

Some medication boxes contain black patches on them, which make it difficult for me to extract the whole box from the black or almost black background (due to variance in illumination). For example ...
0
votes
0answers
24 views

Initialization of population for genetic algorithm in matlab

I randomly generated initial 10 population(let each of size n) of genetic algorithm as follows ...
0
votes
0answers
16 views

stockwell transform

I have a Matlab implementation for s-transform in this site http://pastebin.com/ErN81TPQ which depends on this paper . My problem is, at line 260, the implementer adds strange line by taking negative ...
-1
votes
1answer
25 views

linear interpolator replacement for the sinc function

How to find an optimum linear interpolator replacement for the ideal sinc function? The reason is for the hardware implementation ease. For example when I use sinc interpolation: ...
0
votes
0answers
41 views

pitch detection using cross-correlation [on hold]

I'm currently dealing with a speech processing homework in Matlab and as a part of it, I have to find the dominant frequency of a speech frame to find whether the frame belongs to a voiced phoneme or ...
0
votes
0answers
16 views

Time frequency representation of DWT coefficients in Matlab

I am using discrete wavelet transform to analyze an audio file. I can calculate the dwt coefficients and the inverse dwt works fine. What I want to do now is to visualize how different coefficients ...
-1
votes
1answer
46 views

fft2 of interferometric image - how to interpret the result in term of dominant frequency

I have an interferometric image which shows fringes at a certain frequency, basically a dominantly periodic signal overlaying the information that I want to extracthere are the fringes that I want to ...
0
votes
2answers
51 views

Frequency spectrum of signal - Matlab

Here is the code I use to plot a function in frequency domain in Matlab: ...
0
votes
1answer
31 views

Using mathlab to define a function in signal processing 101

I want to define a function y(t) that has 2 cases: first case---> y(t)=1 ... for 0< t <=T second case---> y(t)=-1 ... for -T< t <=0 where T is an integer. ...
1
vote
1answer
46 views

Short Time Fourier Transform analysis of newborn baby cry signal

I am working on analysis of baby cry signal. fundamental frequency(Fo) of signal is already estimated using auto correlation and cepstrum analysis. cry signal is inputted in .wav format. now i want to ...
0
votes
0answers
16 views

How to detect an event of interest within a given signal?

I have EMG signal(bio-medical data, recording of limb movements) and i want to detect an event of movement in it. What are the methods available to identify?
0
votes
0answers
24 views

How to implement vector quantization after finding out the MFCC?

I am writing a code in MATLAB for speaker identification/recognition and I am planning to use MFCC coefficients and then implement the Vector quantization technique. I read upon VQ and know how it ...
0
votes
1answer
46 views

How to account for sample rate in a FIR Digital Filter?

As a learning exercise I am trying to simulate a simple notch filter with Matlab. For test purposes I use Matlab to simulate sinewaves of various frequencies and plot frequency vs. gain so I can see ...
0
votes
0answers
26 views

Programing Matlab synthetic seismic trace with Q value

I just try to programing the next equiation in matlab: where S(w) is the Fourier transform of a source waveform s(t), defined as the real-valued Ricker wavelet. with the dominant radial ...
0
votes
1answer
38 views

FMCW SAR chirp return from target modelling

I have to Model a chirp signal that was return from a Distance D from target and then multiply with the reference transmitted signal. Which will give me beat frequency signal and then fft to get the ...
0
votes
0answers
37 views

Multilevel one-dimensional wavelet analysis-Downsampling

I'm a complete novice to digital signal processing and I am not completely sure about down sampling using wavedec and appcoef in 1D dwt. I am analyzing sound signal and I would to compere and see how ...
0
votes
1answer
32 views

Advantage of using nonideal filter in purely digital application [duplicate]

Say I'd like to bandpass filter a signal with corner frequencies 1 kHz and 2 kHz (i.e., passes signals between 1 kHz and 2 kHz and suppresses other frequencies) using software like MATLAB. Intuition ...
0
votes
0answers
7 views

Mutation stage of genetic algorithm in Matlab

I'm optimizing an image reconstruction algorithm using genetic algorithm in Matlab.I did crossover on two population and generate two offsprings without using 'ga' toolkit in matlab. So presently I ...
0
votes
0answers
9 views

Convergence of image reconstruction using genetic algorithm in Matlab

I'm implementing an image reconstruction method using genetic algorithm(for optimization).Initially I'm taking 10 population randomly(10 grayscale images in row major order) as follows ...
0
votes
0answers
36 views

Algorithm used by mironsets

I was curious to know which algorithm(stepwise) is used by the mironsets function of the MIRToolbox library to find the onsets in the audio signal. I am talking about the default functionality when we ...
0
votes
1answer
26 views

Tradeoff between Filter Order and Sections

I have designed a bandpass IIR butterworth filter with desired response using the MATLAB FDAtool with the configuration shown in the figure below Since this is multistage implementation, when I ...
0
votes
2answers
39 views

what is the theory behind matlab butter function?

I would like to know the theory behind matlab butter function. Is there any book which gives clear idea on how it works. In future I would like to calculate the coefficients manually.
0
votes
3answers
77 views

Amplitude of frequency in MATLAB FFT

I am trying to extract amplitude of specific frequency in Matlab FFT. Is it possible to use the abs(mag)... But I do not know in which sample to look for ...
0
votes
0answers
9 views

Placing cluster centers with S regular grid space

I started to working on MATLAB implemantation of following paper. http://www.kev-smith.com/papers/SMITH_TPAMI12.pdf At that paper I need to place K numbers of cluster centers on to a LAB spaced ...
0
votes
1answer
29 views

optimization of Image Reconstruction Algorithm using Genetic Algorithm in Matlab

I'm trying to optimize an image reconstruction algorithm using genetic algorithm.I took initial population size as 10.I have an input image an 10 reconstructed image.fitness function is the difference ...
0
votes
0answers
27 views

Classification SVM

I have a problem with Support Vector Machine classification. I have two classes of children (boys and girls). I use a MFCC function for training (for each class I have 24 coefficients, number of ...
0
votes
1answer
37 views

Matlab FIlter coefficients to CMSIS api

I am trying to implement iir Band Pass filter design in STM32F429i discovery kit. I konw that it needs coefficients to be generated from matlab and feed them into cmsis api to achivi filtered data. ...
0
votes
1answer
30 views

How to design a delay and sum beam former with fractional delay less than one sample?

I am supposed to design a delay and sum beam former for a short audio. But the sampling frequency is only 8kHz and after times the delay, the fractional delay is less then one sample, and after the ...
0
votes
0answers
18 views

Sinogram Fourier Analysis Doesn't Show Clear Bow Tie Shape

I'm working on finding the center of rotation of a set of test tomographic projections in order to perform 2D reconstruction. I'm trying to implement the algorithm to find center of rotation as ...