Risposto
Linkdata plots with deployed applications
Is this what you're looking for? You can really see the behavior here, so copy, paste, and run the first section into your MATLA...

2 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 1

| accettato

Risposto
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 mesi fa | 0

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

3 mesi fa | 0

| accettato

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

3 mesi fa | 0

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

3 mesi fa | 0

| accettato

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

3 mesi fa | 0

| accettato

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

3 mesi fa | 0

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

3 mesi fa | 0

Risposto
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

3 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

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

4 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 1

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

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

5 mesi fa | 0

Carica altro