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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 1

| accepted

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

3 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

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

6 months ago | 0

Load more