Community Profile

photo

João


FEUP

Active since 2019

Statistics

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

View badges

Content Feed

View by

Question


Mex .c does not find the SDK on Mac.
Hello, I'm using rMATLAB2016b and I have Xcode installed. I think thee problem is the fact that somehow MATLAB does not foind ...

5 years ago | 0 answers | 0

0

answers

Answered
Resample and convert into PCM
I get it: % convert to PCM 16 bit precision = 'int16'; fidr = fopen([a_filename(1:11), '_22050','.wav'], 'r'); % open ...

5 years ago | 0

| accepted

Question


How to enable automatic variable highlighting in C code (MEX) inside MATLAB?
Hello, I'm using MEX .c inside MATLAB. I'd like to know if it is possible to highlighting the variables in C code (like MATLA...

5 years ago | 0 answers | 0

0

answers

Question


Resample and convert into PCM
Hello, First of all I'm using rMATLAB2018. I'm trying to resample an audio file with sampling rate 44100 Hz to 22050 Hz and t...

5 years ago | 1 answer | 0

1

answer

Answered
help in plotting variable from loop
Try this: figure(1) for i = 1:1:10 m = (M*V*p1)/(R*T); m1 = (M*v*p1)/(R*T); p1 = (R*T*(m-m1))/(V*M); disp(['p1 = ' ,num2st...

5 years ago | 0

| accepted

Answered
How to cut out specific segment from findpeaks function?
Try this, [pks,locs] = findpeaks(PeakSig,x,'Annotate','extents','WidthReference','halfheight') The variable locs have the inde...

5 years ago | 0

Answered
Plot spectrogram from time by frequency matrix
Try this, [s, f, t] = spectrogram(x, w ,noverlap, nfft, Fs); % x is the signal; %w is the window; % noverlap is the windowin...

5 years ago | 0

| accepted

Question


Number of push button change
I have an audio that I've split into 2 segments. I'd like to plot the audio file and add 2 push buttons in the figure, in order ...

5 years ago | 2 answers | 0

2

answers