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

1
vote
2answers
32 views

Is a high-passed signal the same as a signal minus a low-passed signal?

My question is, if I want to high-pass a signal, is it the same as low-passing a signal and subtracting it from the signal? Is it theoretically the same? Is it practically the same? I have searched ...
-1
votes
0answers
7 views

Viterbi Algorithm Matlab [on hold]

I implemented Viterbi Algorithm in Matlab to find the Viterbi Score and BestPath of an observation, but for some reason my best path is the same no matter the observation ViterbiScore = ...
1
vote
2answers
25 views

Vehicle detection in matlab [on hold]

I am new to matlab and computer vision. I used the code given in the link to detect cars. But the problem is the shadow is also being detected and tracked. Can anyone tell me how to modify the code so ...
0
votes
2answers
41 views

Difference between speech and music signal

What are the difference between speech and music signal? Can anyone help? I am doing project in audio processing. In that project I want make decision, that is which type of signal is given as input ...
2
votes
2answers
54 views

Removal of noise from vibration recordings

Problem I am analyzing accelerometer recordings that are contaminated by 'spikes' caused by issues in the digital circuitry. The spikes are problematic, because I wish to determine the peak-amplitude ...
0
votes
2answers
75 views

IIR filter implementation in Direct Form 2

I have implemented Direct Form 2 IIR filter. The input is the Kronecker delta function. I have written code for the response of the filter for Kronecker delta input. The code is: ...
0
votes
0answers
30 views

QPSK constellation Diagram [on hold]

Below is my MATLAB code for QPSK commnication: ...
0
votes
0answers
17 views

How to use coefficients generated in c header file of fdatool in matlab?

I'm using the fdatool in matlab to design a high pass filter.I then generated the coefficients for direct form 1 structure.I exported it as a C header.The trouble is I have a vague idea as to how to ...
0
votes
0answers
9 views

How can we verify CA-CFAR functionality with MATLAB?

How to initialize CA-CFAR/GOS-CFAR module in radar receiver? how can we verify its functionality in MATLAB? Thanks in advance.
0
votes
0answers
19 views

Detecting an echo using the autocorrelation of the cepstrum

I'm trying to implement an echo hiding steganography technique. I need a way to detect an echo in a audio segment. The documents I've been looking mention that I need to do an "autocorrelation of the ...
0
votes
1answer
26 views

Quantization Image using MATLAB

I'm trying to quantize an image 8 bits to 4 or 2-bits uniformly. I searched internet, interestingly I could not find what I want exactly. Then I wrote an simple code for it myself. I'm curious about ...
1
vote
1answer
38 views

Resampling signal in MATLAB

I read a wav file in MATLAB and it has a sampling rate of 16kHz. I want to pass it through a filter I designed which has a sampling rate of 44.1 kHz. So, I thought I would use ...
0
votes
1answer
34 views

homography matrix problem

i have mini project to do about homography , but i am really a beginner in matlab . i have calculated the homography matrix easily by taking a set pixels from both images but the problem is how to ...
3
votes
3answers
68 views

Question about Q matrix (noise process covariance) in Kalman filter

I am implementing my own discrete Kalman filter to estimate velocity from acceleration and position measurements (using Matlab ). I think I managed to deal with the $R$ matrix (measurements noise ...
0
votes
0answers
15 views

Running 2D array through FFT in matlab

I have an input file that is a 2D array but don't know how to convert code that I have to accept the original file and bandpass filter around 18-20 for frequency and then create the bandpassed output ...
1
vote
1answer
26 views

Manual Extraction of Filter Phase Response with MATLAB using sweep sine

I'm currently at a loss for why my code seems to not be working. I'm doing a sine sweep on a filter to calculate its freq and phase response. The frequency response checks out, however the phase ...
0
votes
0answers
18 views

Matlab: Help in learning Kalman filter for parameter and state estimation

I have AR(1) model with data samples $N=500$ that is driven by a pseudo random binary sequence $x$. THe observation $y$ is corrupted with measurement noise $v$ of zero mean. The model is $y(t) = ...
1
vote
1answer
32 views

What preprocessing technique can help me to filter the background text noises using matlab…the image is shown below?

Can anyone help me to improve the degradation of the following image....i am working on OCR system in Amharic language and what is the best image filtering technique that can help me to separate ...
2
votes
0answers
42 views

Matlab: Help in learning EKF

I have AR(1) model with data samples $N=500$ that is driven by a nonlinear input $x$. THe observation $y$ is corrupted with measurement noise $v$ of zero mean. The model is $y(t) = ay(t-1) + x(t) + ...
-2
votes
0answers
30 views

iir filter frequency reponse

While plotting the frequency response of an IIR filter,what command is to be used freqz or plot(abs(fft(my output))).Here my ...
0
votes
2answers
52 views

How to apply a 2D -2D homography matrix on an image?

i have mini project to do about homography , but i am really a beginner in matlab . i have calculated the homography matrix easily by taking a set pixels from both images but the problem is how to ...
2
votes
2answers
58 views

How to detect letters in an image?

I have a project that requires detecting and processing letters in a given input image. I am also new to subject of image processing. There are lots of subsubjects in image processing. I believe I ...
1
vote
1answer
75 views

IIR low pass filter: floating point and fixed point

I have implemented an IIR low pass filter in direct form 2, the input to the filter is a unit impulse $\delta[n]$. I have calculated the output of the filter for the mentioned input using the ...
0
votes
1answer
60 views

MATLAB: Decimation image

I'm trying to decimate given picture Vertically. Horizontally. Horizontally + Vertically. I know that I should use low-pass filter* and then downsample** it not to see any aliasing in image. To ...
0
votes
0answers
55 views

Resolution problem of high frequency components in wavelet domain

I am trying to exploit the sparsity of Chirp signal in wavelet domain. But I have trouble working with continuous wavelet transform. For lower frequencies everything is OK, however as frequency ...
3
votes
1answer
44 views

Measuring frequency response range of piezoelectric disc

How can I measure the frequency response range of a piezoelectric disc below. I don't have an oscilloscope but I do know how to program in matlab / octave I was thinking of creating a swept signal ...
0
votes
0answers
3 views

Filter Span in SQRC filter in MATLAB

I'm simulating a Communication system but I'm not sure of how MATLAB defines "span" in command rcosdesign(beta,span,sps). Span is the the sample number? Or what else? Thanks in advance!
1
vote
0answers
24 views

Generating Gaussian noise uncertainty?

How can I generate non-stationary Gaussian noise (noise uncertainty) using Matlab? where the noise power fluctuate between $(1+p)^{-1}$ to $(1+p)$ where $p$ is the uncertainty factor in dB. Best
0
votes
0answers
19 views

How does Arbib's clustering method work?

Recently in Image Processing I've been studying image clustering (or segmentation) methods and one of them is Arbib's. I understand the main idea behind it from which you start with one cluster with ...
1
vote
2answers
44 views

imshow command for Gaussian function

I'm trying to plot 2D gaussian function using "imshow" in MATLAB. However I could not see any white points in image. I tried to change sampling values and limits of x and y values. In addition to ...
0
votes
1answer
19 views

Frequency Domain Filtering with big kernel size

I use FFT to do filtering in frequency domain, but when I use big kernel I got shift on border, I think it's due to nature of cyclical convolution and I need to do more zero padding. But how to ...
-2
votes
1answer
36 views

denosing using soft thresholding or hard thresholding in matlab

let us consider following code ...
0
votes
0answers
25 views

Removing background noise (sound) by attenuation below certain amplitude (loudness) in MATLAB

I have to write a MATLAB code that attenuates sound at low amplitudes to zero, in VoIP. Meaning I have to reduce low amplitude sound to zero E.G. while speaking I have some background noise (like the ...
0
votes
0answers
31 views

Signal FFT conversion problem

I got the time domain signal from experimental work as per below. The blue is x-direction,green is z-direction and red is y-direction. When i convert the signal into FFT using MATLAB, I got as per ...
0
votes
3answers
71 views

Ideas for a college assignment

I have to do a project for college. The project consists in writing a paper about some application of digital signal processing and then implement the solution in MATLAB. It doesn't have to be the ...
0
votes
0answers
11 views

Percent Error Matlab nprtool

Below is the generated code in using nprtool. How to get the Percent Error same as in the Results Panel? I can display MSE in performance variable, how about the ...
0
votes
0answers
5 views

Feedforward Neural Network without Hidden Layer in Matlab Neural Network Tool

How to use Matlab Neural Network Tool for feedforward Neural Network w/o Hidden Layer? Can we use patternnet on this kind of network?
1
vote
1answer
22 views

How to apply the provided wave transforms on an image

I want to implement one of the following mappings in MATLAB and verify its performance on an image, but I couldn't. Please help me with the implementation
1
vote
1answer
26 views

How to concatenate IIR filter (Butterworth) with a Matlab function and evaluate the integral

I have a function of $j\Omega$ and $v$ (velocity), i.e.: $$A(j\Omega,v)=\frac{(j\Omega)^2}{p + \frac{j\Omega}{v}}$$ where $p$ is the pole. I want know how $A(j\Omega,v)$ modify its behavior, when I ...
0
votes
1answer
26 views

Obtain transfer function from signal flow graph

I have a pretty complex signal flow graph with all the blocks and the branches completely describing an analog filter, in the Laplace complex variable s. The signal $X(s)$ is the input and $Y(s)$ is ...
2
votes
2answers
75 views

carrier frequency difference

Papers use wireless device-dependent radio-metrics as fingerprints. A radio-metric is a component of radio signal, amplitude, frequency and bandwidth. Each device creates a unique set of radio-metrics ...
2
votes
1answer
60 views

Ear Test using MATLAB

I'm trying to test my ear frequency range by using MATLAB. The thing I could not understand is that I can hear the frequencies above 20 kHz. My sampling frequency is enough to satisfy the Nyquist ...
1
vote
1answer
45 views

Ridge finding in noisy 2D image

I'm using MATLAB, and have experience with it but not with this kind of problem. I'm trying to identify white lines in noisy 2D images such as the one below. I can separate the brighter ones just by ...
0
votes
0answers
30 views

sgolayfilt function use the whole sgolay matrix?

I recently started trying to port sgolayfilt() from Matlab into my own c code. I realized through looking at the sgolayfilt function that it uses the whole matrix instead of the center row/column to ...
0
votes
0answers
24 views

Help for programming CWT using complex morlet wavelet?

Here is my code for continuous wavelet transform using complex morlet wavelet. But it's not giving accurate result..Please anybody help to rectify my mistakes..thanks in advance :) ...
0
votes
0answers
11 views

Is there any wavelet similar to coif2 but with rounder trough at the bottom?

Is there a standard wavelet funtion which is similar to coiflet 2 but with a more blunt or round trough at the bottom? It is like mexican hat wavelet but inverted.
0
votes
0answers
11 views

wavelet packet transform using matlab

What is the physical meaning of the coeffecients that i get after wavelet packet transform using matlab wavemenu. Also at each node the no of data points is reduced. Can anyone help me with the theory ...
1
vote
0answers
40 views

How to implement HOG with trilinear interpolation by Matlab?

I am studying HOG. I have find the code code1 and code2 about HOG. However, both of them don't implement trilinear interpolation. I have also read some websites, including web1 and web2. I still don't ...
-4
votes
1answer
44 views

How to interpret this!! I am confused! [closed]

img = rgb2gray(imread('lena.bmp')); imgFirstHalf = img(:,1:2:end); imgSecondHalf= img(:,2:2:end); implay(cat(3,imgFirstHalf,imgSecondHalf)) Now the question ...
1
vote
3answers
40 views

Training own classifiers using trainCascadeObjectDetector for face detection

I want to train a cascade classifier to face detect. I read this page. But I wont use trainingImageLabeler app, because I already have face and nonface database sized 24x24. How I use ...