Respondida
How to get general trend for sound data
The data you provided seems to already be in the frequency domain. If you could share the time domain audio data that would be m...

2 meses hace | 0

Respondida
Extraction of unique arrays in a cell
One possible approach: % Assume 'cellArray' is your 1xN cell array containing arrays cellArray = { [1, 2, 3], [4, 5,...

2 meses hace | 1

| aceptada

Respondida
Extraction of unique arrays in a cell
One possible approach: % Assume 'cellArray' is your 1xN cell array containing arrays cellArray = { [1, 2, 3], [4, 5,...

2 meses hace | 0

Respondida
How to fill the space between two surfaces?
If you are looking to plot the volume of filled space between the two surfaces, I believe this post has the answer you're lookin...

2 meses hace | 0

| aceptada

Respondida
Error during training: Invalid training data. Y must be a vector of categorical responses.
It looks like you are trying to train a network for image segmentation using only a single image as training data. This will not...

2 meses hace | 0

Respondida
I have a ECG signal along with a respiration signal, I need to filter it to separate the ECG and the Respiration signals. Also, extract the QRS complex from the filtered ECG.
I think this example will help you get started. I would also recommend looking at the findpeaks function. Looking at the File Ex...

2 meses hace | 0

| aceptada

Respondida
What can I do to make the output characteristic of the network is two value, that is the implement multivariate input and multivariable output
numResponses in your code is the value that determines the number of outputs from your network. Change that from "1" to "2" to g...

2 meses hace | 0

| aceptada

Respondida
Heatmap doesn't show the values
I'm not able to reproduce this in R2024a myself either. You can assign the output of heatmap to a variable to access the heatmap...

2 meses hace | 0

Respondida
How to store an array of headers in a MAT file?
I would recommend using switch/case. It might look something like this in practice switch size(data, 2) % Switch based on the n...

2 meses hace | 0

Respondida
I'm just trying to make a function file with the function f(x)=e^cosx -x^3+2x^2+5x-3
function y = myFunc(x) y = exp(cos(x)) - x^3 + 2*x^2 + 5*x -3; end

2 meses hace | 0

Respondida
How can I freeze or stop interaction of the background MATLAB and SIMULINK windows until my dialog(progressbar) is open?
You can use uiwait to block the execution of MATLAB and SIMULINK.

3 meses hace | 0

Respondida
MATLAB standalone app installation without administrator
If you install the runtime without admin rights you shouldn't need admin rights to run your executable

3 meses hace | 0

Respondida
Do graphs work in Custom Components?
Yes, graphs work in custom components. Are you using an "axes" object or a "uiaxes" object in the component? Sharing the code fo...

3 meses hace | 0

Respondida
Postpone Text Output in Live Scripts
My recommendation would be to assign all of the text you want to print to a single string array and just display that at the end...

3 meses hace | 0

Respondida
websave - Showing download progress
I'm not sure there is a straightforward way to accomplish this beacuse websave does not give you any intermittent updates on the...

3 meses hace | 0

Respondida
How to split my EMG signal into individual cycles?
I would recommend using the findpeaks function. You can set a minimum amplitude value (Threshold) and minimum time between cycle...

4 meses hace | 0

Respondida
Training a neural network for different operating points
You'll want to use a sequenceInputLayer. I would recommend following this example, seems similar to the task you've described.

4 meses hace | 0

Respondida
Experiment Manager stucks on "Stopping Trial"
Hi Danial and Nivedita. This is a known bug that development is actively working on. It will be patched in an upcoming release!

4 meses hace | 0

| aceptada

Respondida
How to set the GraphicsSmoothing off in appDesigner UIAxes?
GraphicsSmoothing is a property of figures, not axes, UIAxes, or UIFigures. You would have to create a separate figure window fr...

4 meses hace | 0

Respondida
Why I can't save my data in a .mat when using WebAppServer?
I believe you need to specify the local path to which you are saving. You can do this with save, or you might want to check out ...

4 meses hace | 0

Respondida
Outerjoin isn't matching the same values in two different tables
MATLAB seems to be recognizing those datetimes (indexed at 577 and 578) as unique values load('timevecTable.mat') load('v2Tabl...

5 meses hace | 0

Respondida
Remove column based on row value
A = [1 2 5; 3 4 6; 2 8 9] colsToKeep = ~any(A > 4, 1) B = A(:, colsToKeep)

5 meses hace | 0

| aceptada

Respondida
how to plot accuracy?
You're using your test data as validation data. Ideally, you should have training data that is used only to train the model, val...

5 meses hace | 0

Respondida
Measuring different parts of a region within a binary-masked image
I used the Color Thresholder app to create a function that transforms the cropped image from the RGB to Lab colorspace and thesh...

5 meses hace | 1

| aceptada

Respondida
How to resolve this
As stated, functions in MATLAB must be defined as: function y = myFunc(x) %% Do something end If the function is in a file b...

5 meses hace | 0

Respondida
Inserting variables into strings?
The modern "string" datatype is much more intuitve in my opinion, so I recommend Voss' approach over using "fprintf" or "sprintf...

5 meses hace | 0

Respondida
In Diagnostic Feature Designer, how can I change the color for each signal in plot?
I have reproduced this issue and confirmed it is a bug with the Diagnostic Feature Designer. The bug has been reported to the de...

5 meses hace | 0

| aceptada

Respondida
import txt file in matlab
The problem is that "d" is not a structure so dot indexing does not apply.

5 meses hace | 0

Respondida
Multivariate LSTM data preparation
I think this example on time series forcasting is what you're looking to replicate.

5 meses hace | 0

Cargar más