Question

C++ .MAT file format

I have a C++ application that generates a lot of numerical matrices and vectors using C++ numerical libraries as Eigen and Blaze...

8 months ago | 0 answers | 0

Question

PARFOR: Broadcast variable

Hi, I'm starting to use "parfor" in my MATLAB scripts. In this simple example, for each iteration, I get a 2D 'sub_matrix' from...

8 months ago | 2 answers | 0

Question

HDF5 transpose data?

I have a HDF5 file called "output.h5" and it have a dataset called "density" which is a matrix with 21 rows and 2 cols. I read ...

11 months ago | 0 answers | 0

Question

Write class methods outside the class file

I have a very large MATLAB class with a lot of methods and I would like to organize them to facilitate the source code maintenan...

1 year ago | 1 answer | 1

Question

Student License: Two Periods

Today, I have a MATLAB student license installed... Now, I would like to NOT renew this license this year because my PhD projec...

1 year ago | 1 answer | 0

Question

FFT and IFFT: Random Phases

I imported a single audio file to MATLAB workspace. After I apply the FFT: Y = fft(signal) How can I random change the audio ...

1 year ago | 2 answers | 0

Question

Large Audio Datastore: MATLAB Workspace

Hi, I have 36 large audio files encoded as Wav: 48kHz / 24 bits. Each file have approximately 3.6 hours of recording time (or 2...

1 year ago | 0 answers | 0

Question

GPU and CPU code: How to do?

I would like to share my MATLAB project with others that does not have any GPU card in your computers, but I want to use the GPU...

1 year ago | 2 answers | 0

Question

Preallocate char array: Wrong values

I would like to preallocate a char array, fill it with data and then add this array to a table column. The problem is that: eac...

1 year ago | 1 answer | 0

Question

Table: Overwrite column value with condition

I would like to overwrite all values of a specific column, but using a condition, like this: % Dummy array values: a = [1;2;3;...

1 year ago | 1 answer | 0

Question

Table: Add only selected collumns

% Set a dummy array content: name = {'Joe'; 'Elisa'; 'John'}; age = [30; 10; 25]; weigth = [100; 150; 180]; % Set 'select_...

1 year ago | 1 answer | 0

Question

Table: Add collumn with conditional

How to modify this function to create a better code think in how to get a dynamic output table. In this simple example below, I...

1 year ago | 0 answers | 0

Question

XML: Count how many <Tags>

I have a big XML file and I would like to count how many a specific tag 'X' appears in this text file. Example: In this example...

1 year ago | 1 answer | 1

Question

OOP: Select Data with conditional

I would like to filter a array of objects (animal class) and get a new array of objects that fits in 2 properties conditions sim...

2 years ago | 2 answers | 0

Question

ERROR: Wavelet + MATLAB Coder

I'm trying to convert my function called myFunc to C. The 'signal' input argument is a vector (1000, 1) that contains only uint...

2 years ago | 1 answer | 0

Question

FPGA: Audio DSP

I want to develop a DSP hardware that involves processing 64 channels of audio in real time. Using FPGA, my main concern is t...

2 years ago | 0 answers | 0

Question

GPU: Audio DSP

I want to develop a project that involves processing 64 channels of audio in *real time.* My main concern is that the total s...

2 years ago | 0 answers | 0

Question

VST Audio Plugin: Communication

Hi, Let's say that I created a VST audio plugin using MATLAB called "myVST.vst" Then I open my DAW (Reaper/Apple Logic X)...

2 years ago | 1 answer | 0

Question

Listen for Changes to Property Values

I would like to update the RMS object property always when the signal object property has change: classdef track < handle ...

2 years ago | 4 answers | 0

Question

MATLAB Coder: Toolbox Function

I'm developing my own Toolbox called 'Mix Toolbox'. My folders struct is: +mix/amp2dbfs.m function [dbfs] = amp2dbf...

2 years ago | 1 answer | 0

Question

Power Spectrum of Colored Noises

Hi, I would like to know how to "normalize" the power spectrum of FFT so that the length of the colored noise doesn't affect the...

2 years ago | 1 answer | 0

Question

Sum Object Properties: Signal

I create my object using this class: classdef myClass properties signal = [1 1 2 2 3 3]; end ...

2 years ago | 1 answer | 0

Question

Preallocate object array problem: Toolbox Path

I would like to preallocate a array of 'track' object. The problem is that: The 'track class' is *inside my toolbox called 'm...

2 years ago | 1 answer | 0

Answered

Colored Noise: Set Duration

I was wrong. The 'SamplesPerFrame' parameter is the length of the signal. Sorry...

Colored Noise: Set Duration

I was wrong. The 'SamplesPerFrame' parameter is the length of the signal. Sorry...

2 years ago | 0

| accepted

Question

Real time octave analysis: one third octave band

Hi, I'm trying to use a library called: *Real time octave analysis.* *Link:* <https://www.mathworks.com/matlabcentral/file...

2 years ago | 1 answer | 0

Question

Colored Noise: Set Duration

I would like to generate pink/white/blue/purple noise and set the duration of this signal. I'm using this code: signal = d...

2 years ago | 1 answer | 0

Question

FVTool: filter array as parameter

I would like to pass a filter vector as a parameter to FVTool to automate different plots of my MATLAB script. Example: I hav...

2 years ago | 1 answer | 0

Question

Spectrum Analyser: One-third octave bands

Hi, I need to customise the Spectrum Analyser X axis ticks and labels to new values that correspond to the One-third octave f...

3 years ago | 1 answer | 0

Question

How to visualize the GUI of VST Plugin?

I'm loading a VST3 64 bits called (VOXENGO SPAN) into MATLAB following the example: *MATLAB Example:* https://www.mathworks....

3 years ago | 1 answer | 0

Question

Generate C/C ++ source code with maximum optimization

Considering that my MATLAB (.m) file already has support for: # Multiple Jobs # GPU Processing # Multiple processors / core...

3 years ago | 1 answer | 0