Answered
Having two logical operators in one for statement
It works, but you will need to consider the precedence of the various logical operators https://www.mathworks.com/help/matlab/ma...

1 year ago | 0

| accepted

Answered
Errors generated upon publishing a file
Try just running the publish function @Steven Lord mentioned on your file. The error is with displaying the published HTML using...

1 year ago | 0

| accepted

Answered
MATLAb Solve function not solving
Seems to work fine here clear all close all syms I1 I2 V0 s=2; eqns=[5*I1+4*I2+1/(s*0.1)*I1+2*s*I1==1, 4*I2-3*V0==0, V0...

1 year ago | 1

Answered
Finding upward intervals in box movement
I would recommend looking at the findpeaks function. It includes some name-value arguments like MinPeakHeight that I think will ...

1 year ago | 0

| accepted

Answered
I have a question about GUI with Code
You can definitely edit this code to function without the GUI. You won't need hObject or eventdata; these are variables specific...

1 year ago | 0

Answered
BiLSTM layer prediction and target mismatch error.
Hard to give advice more specific than the error message without your code for context. You should check out this example for re...

1 year ago | 0

Answered
my plot is empty (mi gráfico esta vacio)
Try plot(gca, A) to plot the figure on the current axes

1 year ago | 0

Answered
how do I create array with numbers and characters to then put into a table?
k = 1; ZIA = 2; f1pk = 3; fres1 = NaN; fres2 = NaN; f2pk = NaN; R2 = 7; Irms = 8; Pload = 9; sumT = table(k, ZIA, f1...

1 year ago | 0

| accepted

Answered
Turning on and off leds with Arduino with parallel loops
The issue you're encountering is related to the fact that arduino objects are not serializable and cannot be passed directly to ...

1 year ago | 1

Answered
Chapter and section number is not increased in report generator.
You need to add Sections to your Chapters https://www.mathworks.com/help/rptgen/ug/mlreportgen.report.tableofcontents-class.htm...

1 year ago | 0

| accepted

Answered
How to load user input onto Matlab Web App Server
Functions that create dialog boxes that appear as a separate window are not supported in Web Apps. You could create a temporary ...

1 year ago | 0

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

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

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

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

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

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

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

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

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

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

Load more