Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [matlab]

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

Filter by
Sorted by
Tagged with
-2 votes
0 answers
37 views

MATLAB unable to solve Z-transform of dirac delta sequence

I am using MATLAB and trying to find ztransform of dirac(n) which is impulse signal I am studying book Signals and Systems Laboratory with MATLAB Book by Alex Palamides and Anastasia Veloni I have ...
DSP_CS's user avatar
  • 1,870
0 votes
1 answer
42 views

Confusion regarding Z-transform of unit step sequence in MATLAB

I am using MATLAB and trying to find ztransform of heaviside(n) which is unit step sequence I am studying book Signals and Systems Laboratory with MATLAB Book by Alex Palamides and Anastasia Veloni I ...
DSP_CS's user avatar
  • 1,870
1 vote
1 answer
20 views

convert ndarray with properties in Matlab

I am testing to call a Scipy function of Decimate from Matlab and get a ndarray from this function with structure as below ...
ZhangJ's user avatar
  • 13
1 vote
1 answer
42 views

call decimate function from matlab

I tried to call decimate function in Scipy from Matlab but met an error. Can somebody point me in a direction, please? Here is a code of Matlab ...
Jingdong Zhang's user avatar
0 votes
0 answers
42 views

Help regarding a matlab code of Large intelligent surfaces

For my 8th sem project, i was referring to a matlab implementation of a Paper-Transmission Through Large Intelligent Surfaces:A New Frontier in Wireless Communications by Ertugrul Basar. While going ...
blitzzz's user avatar
0 votes
0 answers
14 views

Rician Frequency Selective Channel Model

I have a question about Rician channel with $L$ taps. The frequency selective Rician fading channels with delay spread of $L = 6$ taps are considered for both direct link and reflecting link, where ...
Hossein's user avatar
0 votes
0 answers
18 views

Can you load a WAVES VST plugin with Audio Toolbox?

I'm trying to load a VST3 plugin from WAVES using loadAudioPlugin() from MATLAB Audio Toolbox: ...
Mike's user avatar
  • 1
1 vote
2 answers
86 views

IFFT return complex values in Matlab

I've been experimenting with the frequency sampling method for designing FIR filters. I created a low-pass filter that has a linear transition band. However, when I performed an IFFT on the frequency ...
minghierid's user avatar
3 votes
1 answer
1k views

Why is sampling frequency/rate typically abbreviated Fs and not Sf in English?

This is not a technical question, it is rather a question about the implicit notation used in MATLAB and multiple digital signal processing books to refer to sampling frequency/sampling rate. Why is ...
VMMF's user avatar
  • 1,142
1 vote
0 answers
13 views

Simultaneous removal of all noises in all channels?

Can MATLAB be able to look at all 16 channels of a bio-amplifier simultaneously and look for the common factor which is the noise which affects all channels simultaneously, and the noises removed from ...
Jtl's user avatar
  • 115
0 votes
1 answer
29 views

Matlab logic of plotting meshgrid formula

There is a code which uses meshgrid which is basicly doing all combination of one vector with the size of the other vector and visa versa. y and z are values of the field in the Y axes and Z axes. In ...
user70731's user avatar
0 votes
0 answers
24 views

Modulating with 64-QAM modulation

I'm new to this community. I'm trying to make a sender receiver device with using 64-QAM modulation. But I don't know how to code it or making the waveform. I am trying to make it on Altera Cyclone IV ...
Maria Sktodowska's user avatar
10 votes
3 answers
1k views

Why doesnt DFT Padding cause sinc like features

I'm new to the land of DSP so any incorrect terms please let me know. It seems padding the time domain signal can make the magnitude spectrum look 'nicer', the fact it doesn't gain any more useful ...
George kirby's user avatar
0 votes
2 answers
83 views

Jitter model does not behave as expected after FFT

So I'm currently trying to understand the relationship between jitter and phase noise. To help my understanding I did write a little simulation in matlab. I used this model in the time domain, relying ...
Maci's user avatar
  • 1
1 vote
1 answer
60 views

Trying to replicate results from tfestimate function in Matlab

I have been trying to replicate the results from the tfestimate function in Matlab by performing, from my understanding, the corresponding signal processing steps in a separate Matlab script file. The ...
wolfiesax's user avatar
0 votes
1 answer
69 views

What function can be used to describe periodicity of the signal

im working on a program in matlab for calculation of sampled signal spectrum, and I have a sinusoidal signal with frequency f=100 Hz, sampling frequency fs=250 Hz, every sample is repeated 4 times (fr=...
Wiktuur's user avatar
1 vote
2 answers
131 views

Why i am not getting same convolution plots?

I am trying to implement convolution using fourier transform property but i am not getting exactly same shape of output that i get by using conv command First portion of graph obtained using conv ...
DSP_CS's user avatar
  • 1,870
-1 votes
1 answer
78 views

instantaneous frequency for a complex signal

Let $s(t)$ be a complex signal. I would like to know how to find a signal from its instantaneous frequency. I programmed the following function which calculates the instantaneous frequency. ...
bubu's user avatar
  • 3
0 votes
1 answer
40 views

Calculating stopband cut-off frequency and stopband attenuation for FIR lowpass window filter

I am aiming to create a digital windowing FIR filter on MATLAB and have been given specs such as a: sampling frequency of 360Hz maximum filter order of 5 cut-off frequency of 98Hz/ 1.710rad/sample (...
EEE22's user avatar
  • 1
0 votes
1 answer
79 views

Why is my Hard Decision Decoding of Convolutional codes not performing well?

I am encoding and decoding a randomly generated bitstream of data using a [5 7] convolutional code. For the decoding part I am using a Viterbi Decoder and trying both HDD and SDD. However, my results ...
Sherlock Rozman's user avatar
0 votes
1 answer
29 views

Spreading sequence for dsss or cdma

In spread spectrum systems like DSSS or CDMA, we can take a pseudo-random sequence composed of 1 and -1. But can we use a complex number sequence between -1 and 1? Why is this type of sequence never ...
user71634's user avatar
0 votes
0 answers
87 views

5G BER vs SNR for QPSK, 16QAM, 64QAM

Recently been running simulations where I run through simulating passing random data bits through LDPC Encoding, Modulation (4, 16 or 64) and then AWGN. The code itself is 90% developed by myself with ...
Dudley008's user avatar
0 votes
1 answer
30 views

How to select the location of submatrices to have specific property in the output of multiplication

I want to set the locations of two submatrices W22 and W21 taken from Hadamard matrix, with respect to ...
Sajjad's user avatar
  • 167
-1 votes
1 answer
50 views

Result of complex exponential fourier series approximation and trignometric fourier series approximation are not exactly same in MATLAB?

I have a signal and i am trying to observe its approximations using complex exponential fourier series and trignometric fourier series but i am not getting exactly same result(graph of trignometirc ...
DSP_CS's user avatar
  • 1,870
0 votes
1 answer
81 views

How can a costas loop work when root raised cosine filter used on QPSK signal?

I just finished a costas loop for QPSK signal,I transmit the baseband signal and sent it into the costas loop, which worked well, but when I filter the baseband signal with root raised cosine filter ...
sloth_shelf's user avatar
1 vote
2 answers
56 views

In the frequency domain of a phase modulated signal, why there are are prominent frequency components which are multiples of sampling frequency?

In the frequency domain representation of a digital phase modulated signal, why there are prominent other frequency components which are multiples of the sampling frequency, other than the main ...
Kiran Gunathilaka's user avatar
1 vote
0 answers
42 views

I want to get the single envelope of the signal below in MATLAB but i am not sure which function will be most suitable

The signal is a waveform generated by an electromagnet placed on a sample of Q235 steel with 6mm thickness. An AE sensor is also placed on the sample to detect the waveform. The excitation frequency ...
Wasil Riaz's user avatar
2 votes
2 answers
131 views

insights into making AR Burg extrapolate finite periodic signals

Following a past question, I'd like to extrapolate a periodic signal using AR Burg, but when doing so, it seems that I need to sample "enough" for that to work. For example, if I use the ...
bla's user avatar
  • 588
0 votes
0 answers
34 views

How to apply a delta-filter

I'm trying to apply delta filter to remove pre-fault conditions from my signal. It is formed by a vector (7680x1), the signal was generated at 60Hz and has 32 samples per cycle lasting 4 seconds. The ...
Dragnovith's user avatar
1 vote
1 answer
55 views

Correlation Matrix Problem of Three Decomposition Level of DWT

I'm trying to apply a DWT with 3 composition levels and the following question arose when calculating the composition matrix. The step I'm trying to follow is: The DWT coefficientes are obtained from ...
Dragnovith's user avatar
0 votes
0 answers
32 views

Dynamic cross correlation for time delay of two signals

I have two signals, both recorded at the same sampling frequency, however one has a phase delay. I am currently playing around trying to figure out how to calculate the time delay between these two ...
Pacman's user avatar
  • 1
0 votes
0 answers
75 views

Noise at Corners of MATLAB's ifft2

I'm trying to implement the code in this tutorial in MATLAB using MATLAB's ifft2() function instead of the algorithm used in the shader (looks to be some type of Radix-2 algorithm). It is used to ...
eball's user avatar
  • 131
1 vote
0 answers
25 views

Wavelet Scattering features extraction

I want ask about the wavelet scattering feature extraction with machine learning -- if it is correct to use it for fault detection in induction machines?
Asli Farook's user avatar
0 votes
0 answers
16 views

Comparison channel impulse in DD and TF domains

How can I plot a similar comparison plot in Matlab? My attempt I have tried to create a random function like/ Matlab: rand(M, N) and then take SFFT of it ...
Aid22's user avatar
  • 23
0 votes
0 answers
12 views

Calculating PSNR using STFT of sampled signal

I have a baseband IQ sampled signal from a Pluto SDR with a bandwidth B and also fs = B, how can I calculate its PSNR using the STFT of the signal in Matlab. Do I need to take into account the RBW of ...
Daniel Cohen's user avatar
1 vote
1 answer
64 views

Window Type Effect on Pwelch vs ShortTimeFFT PSD Result?

I am trying to make sure I understand the output scaling of pwelch. I am using the PWelch function to compute the PSD of a signal and I have manually computed the PSD from an STFT output. The results ...
Michael's user avatar
  • 13
1 vote
0 answers
88 views

second order cross correlation

I have two signal sequences $u$ and $y$, where the former is the input to a system and the latter is the output of the same system. I would like to find second-order correlation between the two ...
Neuling's user avatar
  • 103
0 votes
0 answers
18 views

Using exported (From Workspace Block) Signal in Simulink as input signal to a filter

I have generated some ECG Signals in MATLAB workspace and then exported the signal data in the Simulink using the from Workspace Block. Now, I want to use the exported signal as an input signal to a ...
Imtiaz Ahammed's user avatar
0 votes
0 answers
20 views

MatLab - System Identification Toolbox vs Code - discrepancies and small fit percentages

I need help understanding what in what is wrong with what I am doing, or why is this happening. So basically I have two tables and one variable: ...
justaguy's user avatar
1 vote
0 answers
67 views

Debug the difference between two Frft implementations

I need help to understand the difference between two fractional Fourier transform implementations. On this website two different implementations for the fractional Fourier transform are presented (...
Laszlo Korte's user avatar
0 votes
1 answer
80 views

How to derive the error probability for pulse position modulation in digital communication?

I am trying to build a simulation on MATLAB for PPM transmission through AWGN channel. I have a function wrapping the transmitter, channel and receiver that takes a SNR value as input. My simulation ...
Aloys Reant's user avatar
0 votes
1 answer
97 views

What are the spikes here in the spectral analyser?

I'm learning to use the spectral analyser in Simulink, and tested it with a 500kHz square wave (sampled at 1MHz). When I set the Resolution Bandwidth (RBW) to 700Hz, the plot was beautiful and shows ...
George guo's user avatar
1 vote
3 answers
259 views

doppler tolerant phase coded waveforms

how do i conclude a waveform shows doppler tolerance, say polyphase code-frank code, without the use of ambiguity diagram? we know that it is doppler tolerant and if we check the frequency spectrum of ...
user avatar
0 votes
1 answer
137 views

How to derive matched filters for PPM modulation?

I am trying to demodulate a PPM signal in MATLAB. My signal is constructed using 2 base functions : ...
Aloys Reant's user avatar
0 votes
1 answer
52 views

Why do I find a low frequency oscillation when I add a carrier frequency to my baseband signal ? And Why is my demodulation step not working?

I am trying to build a simulation for a 2PPM signal, modulate it at high frequency and then retrieve my baseband signal. Here is my full code (minus the plots) before explaining more. ...
Aloys Reant's user avatar
0 votes
0 answers
11 views

Summation in Wideband vs Averaging in Subband in PMI selection

Summation in Wideband vs Averaging in Subband in PMI selection In MATLAB 5G toolbox, in the hDLPMISelect.m file, we have two different approaches for wideband and subband to find optimum indices for ...
Jacob's user avatar
  • 121
2 votes
1 answer
179 views

How to interpret FFT output?

I want to perform a spectrum analysis of my own voice using the code below. ...
walter's user avatar
  • 21
1 vote
0 answers
34 views

How to effectively resolve bitstream from an array of signal amplitude

The other day, I asked about how to model a receiver from 1090MHz ADS-B and Mode S signal, link to the post. With the support from Mbaz. I thought that it was not accurate that if I used a Zero-IF ...
Tuấn Nguyễn Anh's user avatar
0 votes
0 answers
67 views

Pitch shifting effects on formants

I am doing a project for uni where i try to change the precieved gender of an audio using dsp techniques on matlab i started with pitch and am trying to move to formants now but i am not sure i fully ...
3izmanique's user avatar
2 votes
1 answer
79 views

Modeling 1090MHz receiver for aviation transponder

I'm building a Mode S and ADS-B receiver for TDOA calculation. I am planning to use an SDR with Zero IF to receive the downlink 1090MHz replies from aviation transponders. Currently, I am modeling the ...
Tuấn Nguyễn Anh's user avatar

1
2 3 4 5
63