Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [matlab]

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

0
votes
0answers
4 views

Frequency selective channel modeling using rayleighchan object in matlab

I intend to model a frequency selective channel using matlab "comm.RayleighChannel" object. Consider the following command, which sets the parameters of Rayleigh channel : ...
0
votes
0answers
23 views

How do I filter out the specific components at 20MHz, in this figure?

I used the filter builder (lowpass) , to cut off the frequency at 0.5 MHz, and thus used a stopband of 0.1pi, and a passband of 0.0125pi. (Sampling Frequency= 80MHz). However, the output was still ...
0
votes
0answers
21 views

Plot Frequency Spectrum of Binary Sequence in Matlab

I am new to Matlab and I am trying to implement a section of a published paper, the basic idea of the part that i am implementing is to show the frequency spectrum of camera aperture. The shutter ...
0
votes
1answer
29 views

Hilbert transform of symbolic function in Matlab

I have a signal of the form $f(\omega,x) = g(\omega) e^{i \omega (x +c)},$ for $g: [\omega_1 , \omega_2] \rightarrow C, \, x\in R$ and some constant $c.$ I want to get the function $$ F (\omega,x) = \...
0
votes
1answer
21 views

How to get maxima of rho in hough table

i applyed hough transform in my image and this is the result of hough table, i must get the maxima of rho in two basic angles of theta , the one is around -65 : -60 and the other is round 30:35 How ...
0
votes
0answers
22 views

Convex Optimisation and Python [on hold]

I was tweaking with CVX Toolbar in MATLAB. While running a simple example (available on CVX Documentation), I keep getting errors. I am writing a MWE below: ...
0
votes
0answers
19 views

Remove human noise in background from audio signal [on hold]

I am new to signal processing. I have a set of audio signals which has background noise of humans talking. Is there a way to remove the human voice and save the new audio signal. Can i get the code if ...
0
votes
0answers
22 views

Notch Filter with given Bandwidth

I have to use Matlab with the iirnotch()-function to design a notch filter. The notch should sit at 520Hz, the Bandwidth should be 100Hz and I have a sampling ...
0
votes
1answer
31 views

How to design a a filter and how to determine the poles and zeros on the basis of following informations?

A sinusoidal signal of 300Hz frequency,3V amplitude is contaminated with line frequency (50Hz,1V). Design a digital filter including poles and zeros to remove the interference component. Consider the ...
-1
votes
1answer
25 views

How to separate silence from frequencies in Matlab

For a project, I was asked to create a DTMF detector on Matlab. I know that the audio sample that will be provided will have 4 tones maximum, possibly less, and that the audio begins with a 0.1 second ...
0
votes
0answers
30 views

Designing Matched Filters on Arduino

I'm trying to develop a prototype at the moment that includes a sensor to detect how fast someone is typing on a keyboard. Essentially this sensor is a microphone that will be able to detect keyboard ...
0
votes
0answers
32 views

confusion about output of inverse fourier command in MATLAB?

I am reading book of alex palamides chapter 6 fourier transform and i am trying to compute inverse transform of a function but when i write the code of book in MATLAB,i do not get expected answer(as ...
0
votes
0answers
24 views

How to generate wireless O-QPSK modulated signal in Matlab?

I am trying to create a small simulation where I would need to transmit a wireless signal from one wireless node to another and then transmit one more message back to node 1. Considering this is LR-...
0
votes
0answers
16 views

why we use time step only in continuous convolution in MATLAB? But not in discrete convolution?

I am studying convolution from book of alex palamides but i am confused because he uses time step(in this case 0.01) in his code for continuous convolution as shown highlighted in attached photo but ...
0
votes
2answers
28 views

Frequency Domain Correction of Frequency Offset or Doppler Frequency in LTE

We are working on LTE Uplink CFO Correction for 3 MHz band. The time domain CFO correction is easy, which depends on the processing of 3840 samples step by step multiply by $\exp(-j 2\pi f_\text{...
0
votes
1answer
33 views

multiplication in frequency domain equals convolution in time domain mismatch

We know that a convolution in the time domain equals a multiplication in the frequency domain. As per the article below, https://www.dspguide.com/ch9/3.htm In order to multiply one frequency ...
1
vote
0answers
39 views

FFT of accelerometer signal: How to get a correct amplitude & noise reduction

I’m a student studying on vibration analysis & testing. I’ve performed low level sine sweep test of a simple rectangular PCB with clamped boundary conditions on two ends of it. That test was ...
0
votes
1answer
34 views

Inverse FFT of complex exponential with time delay - window leakage?

I am working in MATLAB with a frequency domain signal that is a sum of complex exponentials, e.g. $X(\omega) = \sum_i e^{-j\omega t_i} $ where $t_i > 0$ $ \forall $ $ i $ I expect the output to ...
0
votes
2answers
61 views

Help understanding MATLAB code [closed]

I need some help understaing some MATLAB code: The function takes an input of 8x8 matrix and outputs a 63x1 array, I understand that it goes through the matrix in a specific zigzag way (Picture ...
1
vote
1answer
20 views

Requirement of time step in convolution output?

I am studying time domain analysis from book signals and systems labotary with matlab by alex palamides when i was studying convolution command topic on page 187, author discussed use of ...
2
votes
1answer
60 views

Using Matlab's filter() function for solving difference equation with initial conditions

I am trying to solve a difference equation with initial conditions using Matlab's filter function: $$y[n]=\frac12y[n-1]+x[n],\qquad y[-1]=1\tag{1}$$ For $x[n]=6u[...
0
votes
0answers
9 views

Matlab :How to generate a wireless signal in LR-WPAN using IEEE 802.15.4? [closed]

I am trying to create a simulation where I will have a wireless signal that goes from one wireless node to another. I would like to be able to see waveform, as well as set up parameters, such as tx ...
1
vote
1answer
33 views

confused in difference between calculations of convolution and multiplication?

How are two signals multiplied? And how is it different from convolving two signals?? I have read the above question on dsp stack exchange and i also tried it in my matlab , code is as follow: ...
0
votes
0answers
24 views

Use of gauspuls command in matlab, unable to broad signal at frequency spectrum

I have a doubt in the gauspuls command in matlab, i entered a fbr(fractional bandwidth of 1.5,ie. bandwidth= 0.75Mhz ) but as i plot the signal in the frequency spectrum using fft. i dont see the ...
0
votes
0answers
22 views

Can someone help me plot the spectrum as shown in the figure in MATLAB

I have to plot the freuency spectrum of a similar pulse echo response in m project, can someone help me here?
0
votes
0answers
29 views

Power, energy and amplitude spectrum from fft in MATLAB - scaling

I've looked at previous answers and none of the answers seem to agree (perhaps I'm missing something obvious): I would like to know what the correct scaling to use is for amplitude, energy and power ...
-1
votes
0answers
9 views

I have 3 ECG files imported to Matlab via csv files and plotted in time domain, how to i plot the same 3 signals in the frequency domain?

I have 3 ECG files imported to Matlab via csv files and plotted in time domain, how to i plot the same 3 signals in the frequency domain in order to see the powerline interference at 50HZ?
0
votes
0answers
16 views

Partitioning data for minima detection

I am working with signals that consist of consecutive equidistant dips. I am trying to write an algorithm that finds the absolute lowest (minimum) point in each of the dips. We don't know the ...
1
vote
1answer
45 views

Is it possible to use MRC with DS-CDMA-MIMO [closed]

I'm wondering how to use the Maximum Ratio Combining with MIMO-DS-CDMA, I have used the MIMO with DS-CDMA using Walsh code, then at receiver I couldn't recover the transmit signal using the MRC. here ...
1
vote
2answers
49 views

time invariance concept?

First of all ,please let me know?Is cosine time invariant or time variant? If latter is the case then if a time varying input like cos is given to a time invariant system,how will it behave? I have a ...
0
votes
0answers
8 views

Comparison Between Mahoney Filter and Kalman Filter in Euler Angles (Yaw, Pitch, Roll) Estimation

What are the advantages of Mahoney Filter over Kalman Filter for Euler Angle (Yaw, Pitch, Roll) estimation? Could anyone compare them for Angular State Estimation? Resources Mahoney Filter ...
0
votes
0answers
12 views

Parity Check matrix from degree and check nodes polynoms, LDPC codes

I'm trying to simulate LDPC codes which were optimized for the BEC channel. I generated the degree and check nodes polynomials according to chapter 3.15 in "Modern Coding Theory" by Richardson and ...
0
votes
1answer
13 views

MATLAB & Power Spectral Density - Error - Getting the same range of values regardless of sound type?

I wrote code [attached at end of question] to take .wav files of child vocalizations and tried to see if there are valid ranges for the formants F1:F2:F3 for the 5 ...
0
votes
0answers
16 views

Getting SNR of reconstructed signal in MATLAB

I am trying to run code to compare the efficiency of various basic sampling methods such as ideal sampling, natural sampling and so on. I want to then use average power to see how accurate the ...
1
vote
4answers
60 views

Detecting a three-tone signal in real-time

I'm new to digital signal processing, and I've been looking into FFT, filtering, Matlab etc. What I'd like is to build a program which will detect when a certain BEEP is transmitted through a trunked ...
3
votes
0answers
44 views

Is it possible to approximate given skewness and kurtosis values using an IFFT?

I have time domain data for a signal that behaves randomly but has non-random (non-Gaussian?) skewness and kurtosis values of ~0.9 and ~7.4, respectively. The FFT of the signal shows that it's not ...
1
vote
2answers
31 views

Confused in difference between sequence versus signal?

I am learning basics of signals and systems with MATLAB If i create a vector in matlab such that x=[ 2 5 10 20], will it be considered a sequence or a signal? As ...
0
votes
1answer
27 views

Matlab: Different 1-D FFT results with and without zero-padded

Recently I am implementing FFT with C code. So I use Matlab for algorithm verification. As Radix-2 FFT was chosen, I've learned that zero-padding technique could help to reach 2^N limitation without ...
0
votes
0answers
15 views

finding harmonics from fundamental

https://s3.amazonaws.com/izotopedownloads/docs/rx700/en/interactive-tools/index.html#selection-tools From the above link, under the "Magic Wand" tool description, how does that algorithm work? In RX,...
0
votes
0answers
14 views

Aperiodic Correlation function using FFT Method

Periodic correlation function between two binary sequences say x and y can be computed using FFT. corr_value = ifft(fft(x).*conj(fft(y)); Can some one please help on how to compute aperiodic ...
1
vote
2answers
59 views

Confusion in linearity?

I am studying linear systems from the book "Signals and Systems Laboratory with MATLAB". I have performed an example on MATLAB myself in this regard. Code is as follow: ...
0
votes
0answers
16 views

I want to create a signal in time domain using gauspuls command in Matlab, and plot the same in freq domain to check?

I have got a code from (www.simsonic.fr) which takes input as fractional BW, time and centre frequency, and gives in phase pulse and envelope as output. But my concern is how can I check if the signal ...
1
vote
0answers
14 views

Range of updated/new time axis after upsampling? [closed]

I am reading the book "Signals and systems laboratory with MATLAB" by Alex Palamides and I am reading system properties on pg 154 of the book but I am confused about an example shown in attached photo....
0
votes
0answers
23 views

Using MATLAB to plot the input and the magnitude spectrum of the signal

I have an aperiodic signal $v_{out} = e^{-t} u(t)$ (real exponential signal) from discharging capacitor. I was trying to plot using MATLAB 15 seconds of this signal in time domain? I am thinking how ...
0
votes
0answers
34 views

I want to plot a gaussian pulse in MATLAB in the frequency domain, with its centre at the highest value

I have tried one way but i am getting 2 peaks at the edges as shown in the picture. I have used 1 part of my code for the signal generation where i used the gauspuls command (reference: www.simsonic....
0
votes
0answers
37 views

Speech processing using matlab

My teacher gave me a project speech processing using matlab. I've completed up to point 6 but I do not know anything about points 7 and 8. Is there anyone who can help me please
1
vote
0answers
44 views

persist state of digitalFilter

Suppose I created a digitalFilter using designfilt (in matlab). I am interested in using it to filter windows (I dont have the whole data set offline). When I call filter() with this filter and a ...
1
vote
1answer
33 views

Normalizing vectors to be the same size to retain PSD data

Context: PSD=periodogram(y) in MATLAB gives the PSD (power spectral density) estimate of a sound-source signal. I want to find the local maximum within 3 different ...
0
votes
0answers
8 views

I want to calculate two parameters related to Bone characterization namely BUA or Broadband ultrasound attenuation and Speed of Sound in MATLAB

I am using Simsonic software(http://www.simsonic.fr/) to generate 2 signals 1) for plane water(2D) width 45mm, and 2)for bone specimen 30mm width in the above vat. I am centering my source at 5mm and ...
4
votes
2answers
168 views

Removing step-function like noise from signal, knowing when the step functions occur

So I currently have a system which is fit for very short time measurements. Whenever a measurement is long, however, there is a need to continuously update the reference, which, each time, will ...