MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Mex building from C++ DLL
Jasmin - 2020-12-07

I have a C++ DLL and its header file. I'm trying to build a MEX function for each function in the DLL, and one of the functions has the following sign...

Error due to variable size data in Matlab function block
Wyatt - 2020-12-07

I have a problem that many others had before, so I read some discussions and references before asking the following: I have a Matlab function block in...

Coder varsize unbounded second dimension
Zayden - 2020-12-07

I am reading on the Matlab help  about coder.varsize. In particular, I read that Declare Variable-Size Array with a Mix of Fixed and Variable Dimensi...

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...

Get a Free Consultation or a Sample Assignment Review!