MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Why is the MEX file I generated from my MATLAB code slower than the MATLAB code?
Genesis - 2020-12-07

I expect that creating a MEX file from my MATLAB code should always provide a speed improvement. Why is this not the case?...

What do I need to add to my code when using loglog to plot?
camillajoy - 2020-12-05

I have used semilogx and semilogy to plot the attached audio signal but never loglog. I keep getting an error returned to me about the input arguments...

How to use findpeaks in the frequency domain?
Leonardo - 2020-12-05

I'm able to use findpeaks to find out the amplitude and time of each mode but i'm trying to use it to also find frequency, below was my attempt howeve...

Convert spectrogram time to UTC
Vicente - 2020-12-05

I have produced a spectrogram of a signal, starting at 18:33:01 UTC on 6th July 2013. I need the time to be in UTC rather than time instants; does any...

Index error when calling filter function
Sophia - 2020-12-05

I'm trying to write a function to read an audiofile applying it a filter. I first use audioread function that gives me my (441000x2) signal matrix of ...

In "Analyzing Cyclical Data with FFT" example, how the frequency was calculated?
Yisroel - 2020-12-05

max freq = 1/2; %maximum frequency freq = (1: n/2 ) / (n/2) *maxfreq; %equally spaced frequency grid and how it can be calculated for other examples? ...

problem in applying loop
Quincy - 2020-12-04

I have emg signal (30000x4) and want to apply function on it in loop....     function waveLen = find_waveform_length(signal) sum=0; for i=2:length(s...

How to useParallel in system identification?
Eli_sa2 - 2020-12-04

Is there a way to use 'useParallel' on the nlarx function in the system identification, like with the train function in the deep learning toolbox? I'm...

Plotting FRF with imaginary and real numbers
Teagan - 2020-12-04

Hello, I have a file of all the FRF functions of an experiment, and it is computed in complex numbers + real part. I would like to know if it is possi...

How to adapt pmtm for a gpuArray?
Travis - 2020-12-04

This would really speed up some  signal processing that I am doing at work. Does anyone know how to easily adapt the function pmtm for use with a gpu...

Get a Free Consultation or a Sample Assignment Review!