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

1 year 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...

1 year 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

1 year 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.

1 year 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

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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.

1 year 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!

1 year 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...

1 year 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 ...

1 year 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...

1 year 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)

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

Answered
How to define the size between multiple symbolic variables and sort these symbolic elements
Define your constraints using assume and assumeAlso syms c1 c2 c3; assume(abs(c1) >= abs(c2)); assumeAlso(abs(c2) >= abs(c3)...

1 year ago | 0

Answered
how to skip lines that start with a certain character while reading a text file
I would just load the data as a string and use the erase function to remove the "#"

1 year ago | 0

Answered
Is there a reason why {'charVector'} is not considered a text scalar for argument validation purposes?
Apologies, I should have said " A cell array is not necessarily interpretted as "text" ". I think I have a more complete underst...

1 year ago | 1

| accepted

Answered
Is there a reason why {'charVector'} is not considered a text scalar for argument validation purposes?
From the mustBeText documention "mustBeText(value) throws an error if value is not a string array, character vector, or cell arr...

1 year ago | 0

Answered
Command Window No Output
A previous post states that resetting MATLAB to its launched state fixed the same issue you're seeing here.

1 year ago | 0

Answered
Import files and export them
Check out the Data Import Tool. Then you can use writetable to write to a CSV file.

1 year ago | 0

Answered
Why am I getting an "undefined function or variable" error when trying to launch EEGLAB?
I recommend adding EEGLAB via the Add On explorer. It will automatically add it to your path for you.

1 year ago | 1

Load more