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
0answers
3 views

Generalizing Matlab Hough Function

I am trying to modify the MATLAB hough() function so that it handles grayscale images. for that I started with openening the file ...
0
votes
0answers
26 views

Least Square Channel Estimation Technique

A communications channel is modeled by a finite-impulse-response (FIR) filter: $$y[n] = Hs[n] + w[n]$$ where $H$ is the channel coefficients, $s$ is the binary source and $w$ is AWGN A least Square ...
0
votes
0answers
23 views

How to use wavelet decomposition for feature extraction (of fMRI images)?

I have a dataset consisting of fMRI images (from mice) which are divided into 4 groups (different drug dose levels applied). Each fMRI image is 4D, that means each voxel is a time series. For each ...
1
vote
2answers
32 views

applying single pole filter to simple signal

How to apply single pole filter to simple signal fs = 500; ts = 1/fs; t = 0:ts:1-ts; fc = 50; S = cos(2*pi*fc*t);
0
votes
0answers
45 views

What is Single pole filter?

Can anybody tell me why do we use single pole filter? And may be an example of Single pole filter in matlab. Good literature recommendations are also welcomed.Moreover, that would be good if anyone ...
0
votes
1answer
25 views

How can I extract a sinusoid from a very noisy signal for computing the phase shift?

I have done some measurements and I got two very noisy signals. I want to extract a certain sinusoid from the signals and I want to compute the phase shift between them. I made some simulations and I ...
0
votes
0answers
10 views

Matlab fspecial disk: Algorithm reference or algorithm logic

I'm trying to figure out how the fspecial function works to create a discrete disk in Matlab. This function is an averaging filter that arises in an image processing environment. The Matlab algorithm ...
-1
votes
0answers
7 views

Resampling data from impact testing

I have asynchronous data from two different data acquisition systems (one for the impact hammer and the other from accelerometers). I am using pwelch and cpsd in matlab to calculate the FRFs however ...
0
votes
2answers
31 views

Frequency response of a (rectangular) integrator

A very simple question which can't really figure out: I have a simple discrete time rectangular integrator with Z transform H(z) = 1/(1-Z^(-1)) Plotting the frequency response with Matlab using ...
0
votes
1answer
28 views

Why standard Waveform from audio out gets distorted when i reduce the amplitude?

In my attempt to generate a standard sine wave out of a sound card, i started using matlab which has a function soundsc for scaling the output ...
0
votes
1answer
36 views

Frequency Shifting in MATLAB

I am currently attempting to demodulate an audio file using MATLAB. After taking the fft of the signal, I receive this: After some more coding, I found the following values: Fs = 44100; Window ...
0
votes
0answers
12 views

need help with getting 95% ellipse area of a 2D PSR plot [closed]

So I have been referring to the method of obtaining this as outlined in the following paper (pg 4 - 5): ...
0
votes
2answers
53 views

MATLAB : How to filter a data signal

I have a data signal (column vector) with N values taken over at specific sample rate (dx) at a fixed frequency. After taking the Fourrier transform of this signal and representing it in the Fourier ...
0
votes
1answer
27 views

playing audio continously in matlab

I am in my way to design a function generator using matlab,the point which made me stuck is the challenge of continuous waveform generation code snippets of my attempt ...
-1
votes
0answers
18 views

DFT of autocorrelation

I have been trying to take the DFT out of an autocorrelation function using MATLAB and C++ both and am not able to reach any successful result. All the codes and stuff I see online are only FFT. Can ...
0
votes
0answers
17 views

Remove noise from Binary image, License Plate noise removal (MATLAB)

How can I remove noise form Binary license plate? example images: http://s1.upload7.ir/downloads/XB6RfCQnJz5dyJgXPrg2Co5OmAFSkmO8/Untitled.png source file : ...
0
votes
0answers
18 views

Reversible QIM For watermarking

I have read your paper with title "Nested Quantization IndexModulation for Reversible Watermarking and Its Application to Healthcare Information Management Systems". enter link description here ...
0
votes
0answers
15 views

Use the line function commend matlab of PDE toolbox in image processing

I want to use the line new command of PDE toolbox as Matlab R2015a to restore a noisy image with gaussian noise. The PDE is : \begin{eqnarray} \nabla.(\frac{ \nabla u}{\sqrt{1+|\nabla u|^2}}) ...
0
votes
0answers
14 views

Speech signal, Word Boundary algorithm

I need to implement an algorithm in Matlab that, given a speech signal contaminated with background noise, can detect the boundary of each word, saving only the samples that belong to the actual ...
0
votes
0answers
18 views

DAC ADC for BPSK modulation

I have written Matlab script for BPSK modulation. The way my code works is as follow: series of 0 and 1----> NRZ data (continuous rectangular pulses with amplitude -1 and 1)--->multiply by ...
0
votes
0answers
26 views

Signal reconstruction in FMCW radar

I am doing fmcw radar simulation. I have an output of mixer and from that I want to reconstruct the amplitude and phase of the signal. Therefore, I am taking hilbert transform and by the ...
0
votes
1answer
31 views

Fir filter not working according to frequency response

I have designed a FIR filter with following parameters fs=30, f_pass1 = 1, stop1 = 0.5, f_pass2 = 3, f_stop2 = 4, A_pass = 1,A_stop = 40 Here is code : ...
1
vote
0answers
54 views

Hilbert transform of a bandpass signal

I have a bandpass signal x. I am taking hilbert transform of it. I want to reconstruct amplitude and phase of the signal.Therefore, i am using Hilbert transform. ...
-1
votes
0answers
19 views

how to use particle filter based multidemension model?

The model is assumed to be known, ie. the parameters a1 , a2, a3 and a4 are known. vk-1 is process noise, ek is the measurement noise. zk is the measurement at time k, xk is the state variable. Then ...
0
votes
0answers
15 views

Image Registration

I am trying to register two images of daily objects from different viewpoints (5 to 20 degrees angle). I have been reading about image registration and I feel like the best way to go is using ...
0
votes
2answers
27 views

print a date and time in command window MATLAB [closed]

I use matlab R2015a, when I run my script I want print the date and the time of exection I tried this code ...
0
votes
2answers
36 views

Impulse calculation

I have written this MATLAB function to plot the impulse response. But it doesn't give me the desired output (impulse function). I am new to MATLAB. Can anyone tell me where i went wrong with the code? ...
1
vote
2answers
41 views

Using SURF algorithm to match objects on MATLAB

I am trying to find the difference between two images, using Matlab. The classic built in function that Matlab provides for this is because the two images don't have the same dimensions (The objects ...
0
votes
0answers
26 views

Generating Wavelet family matrixes

We have unnormalized Haar matrix which, is for example, H4=[1 1 1 1;1 1 -1 -1;1 -1 0 0;0 0 1 -1] After normalizing it, we use for haar transform. I know how to ...
0
votes
0answers
16 views

Criteria to distinguish good/bad response to Intermodulation

I am actually studying the effect of intermodulation on multiple devices which are basically building element that contain amplifiers FPGAs and ADCs. I know for a fact which unit is bad and which is ...
0
votes
0answers
25 views

Curve fit for fft dplot

I have data from accelerometer (time domain) and convert it to fft using Fourier Transform. However, I need to do the curve fit to the plot. Can somebody share with me the coding.I don't know how to ...
0
votes
1answer
43 views

Question about Difference of Gaussian (DoG) algorithm

I am recently learning about Computer Vision and I am having a trouble understanding Difference of Gaussian (DoG) algorithm. I get how the algorithm works in high level idea, but I am trying to ...
0
votes
0answers
34 views

Very high SNR BPSK modulation

I am using BPSK modulation to modulate a signal in continuous time (making rectangular waveform, multiplying by a carrier). The channel is band-limited and frequency-selective, and has the following ...
0
votes
0answers
38 views

how to find the distance of the root from the origin?

Good Day, I have 9 polynomial roots. i have plotted the roots. my problems are: 1)how to find the distance of the roots from origin? I want to find the distance of all the roots from the origin. 2) ...
3
votes
1answer
71 views

denoise image MATLAB/Octave Gaussian noise

I want to remove a noise for an image using MATLAB, when the observed image is $$f=u+v$$ where $u$ is the restored image (is the image i want recovered) and $v$ is the gaussian noise. To restore ...
0
votes
1answer
38 views

How can I generate audio wave files of harmonic series/partials for a specific frequency in Matlab

this is the only code I know, but it is for one specific frequency and not for its harmonic series, I am trying to get all the partials as individual files, eg. If I want to generate 40hz sine ...
0
votes
1answer
40 views

Period, amplitude and phase through FFT in MATLAB

I need to compute period, amplitude and phase of the signal from spectrum analyser. It looks like a sine wave. Since i am new to MATLAB and also have limited idea about Fourier transforms, I am ...
0
votes
0answers
7 views

EEGLAB: going from a .bdf file to a MATLAB matrix

I am looking for the assistance of someone familiar with EEGlab (for MATLAB). I'm using an online dataset from this site, just trial 1 for now. Essentially I have a bdf file and an elp file, and I ...
0
votes
1answer
37 views

Initialize a Room Impulse Response using reverberation time(T60)

I am doing Speech dereverberation using Non-negative matrix factorization. I need to initialize an impulse response($H$) such that its reverberation time ($t_{60}$) is $300$ ms. Let the length of $H$ ...
0
votes
1answer
32 views

How to plot the root of polynomial in Matlab?

I obtained this polynomial equations: $$A(z) = 1 - 0.7987 z^{-1} - 0.125 z^{-2} - 0.511 z^{-3} + 0.06889 z^{-4} + 0.3465 z^{-5} + 0.4809 z^{-6} + 0.04951 z^{-7} - 0.5298 z^{-8} + 0.1828 z^{-9}$$ How ...
1
vote
0answers
13 views

Singularity Detection from 2D Wavelet Modulus Plot

I was wondering if I could get some tips/resources on how to pick out the singularity from my 2D Continuous Wavelet Transform Coefficient Plot (scalogram) using the Gaussian Derivative as the ...
0
votes
1answer
21 views

Using pathloss in matlab

This is probably a very simple case but I am not sure where I am going wrong. In order to estimate the effect of path loss in Matlab, the function fspl(R,lambda) ...
0
votes
0answers
27 views

Advice for creating differential microphone array

For a school project I'm required to create a differential microphone array that can filter out background ambience, so a clear voice signal can be recorded in noisy environments. The plan was to use ...
0
votes
0answers
17 views

Effect of pathloss on signal power

Consider I have two transmitters $tx_1$ and $tx_2$ at say a distance of $d_1=5\text{ m}$ and $d_2 = 15\text{ m}$ respectively from a receiver. Now, if I consider the effect of path loss in such a ...
0
votes
0answers
33 views

MATLAB poly2trellis for Extended Hamming (64,57)

Current understanding: Extended Hamming (64,57) is constructed using generator polynomial 1 + x + x^6 followed by a parity bit at the end of the codeword to get even parity. The Extended Hamming ...
0
votes
0answers
37 views

How to calculate the frequency shift of FMCW transmitted signal and received signal using Matlab?

I generate a FMCW chirp signal between 18k-20kHz using Matlab, then sound the signal through the speaker in laptop, then record the reflected signal through the Mic in the laptop. What I want to do is ...
0
votes
3answers
46 views

Delay signal according to normal distribution

I am trying to delay a signal by a certain number of samples. This certain number, I would like to generate using a random normal distribution in Matlab. I am using the following for generating the ...
0
votes
0answers
20 views

Transformation validation

I am trying to see the validity of my geometric transformation, by imposing a point I got from a tracker in the original image and superimposing it on the image after the transformations. The point ...
0
votes
0answers
42 views

Velocity from acceleration data

I have an acceleration data from accelerometers. I want to get velocity from the data by integrate it using matlab. Here my coding :- ...
0
votes
1answer
28 views

zero-phasing frequency components while keeping the same magnitude, in Matlab

How is it possible? I was thinking of taking just the real part of the DFT of my signal (isn't that zeroing out phases?) with real(fft(X)) but the magnitudes ...