Answered
Sort function indices in regards to the original data?
In response to your comment on my other answer (which I posted before you edited your question), here is how to get what you wan...

2 months ago | 1

| accepted

Answered
Sort function indices in regards to the original data?
I'm not sure why you think it should be [2 3 4 7 8 5 1 6]. But, the output is correct. The 7th element is the largest The 1st...

2 months ago | 0

Answered
How to calculate the value of (x) on xaxis in MATLAB ?
How, specifically, do you want to define that point? It is not the highest peak, which is at index=85 (as shown in the last line...

2 months ago | 0

Answered
Could anyone help me with an error in my code?
Answering the questions in my comment above will clarify things, but I expect you are calling ADDE with either no arguments or o...

2 months ago | 0

Answered
Having trouble with saving multiple figures as they are produced in sequence.
You don't mention the problem, but I will say that I typically put a drawnow command just before saving/printing figures. I'm ...

2 months ago | 1

Answered
readtable .txt file, reading string row issue
You need to specify that the first column is the row names: % Specify the file name file_path = 'Test.txt'; % Read the file...

2 months ago | 0

| accepted

Answered
Q-factor calculation
Here is what the MathWorks AI Chat Playground suggested: % Step 1: Load S12 data S12_data = [freq, S12]; % Replace freq and S1...

2 months ago | 0

Answered
Q-factor calculation
Here is what ChatGPT suggested: % Load S12 data (replace 'your_data.csv' with your actual file) data = csvread('your_data.csv'...

2 months ago | 0

Answered
Does Matlab has cryptography toolbox?
The full list of MathWorks products is here. I don't see a cryptography toolbox. Seems like you've done at least some search on...

2 months ago | 2

Answered
how toggle this warning using unstack function
warning("off","MATLAB:table:ModifiedAndSavedVarnames") warning("on", "MATLAB:table:ModifiedAndSavedVarnames")

2 months ago | 0

Answered
Retrain Machine Learning Model On New Data
I don't really understand the question. There is no such as "re-training" an existing model. You can do one of two things: Trai...

3 months ago | 0

Answered
data fitting with multiple independent variables
Your problem triggered a memory of this MATLAB example. I think your temperature is analogous to the time in that example. I'm ...

3 months ago | 0

Answered
How to create a wordcloud in specific shape using MATLAB?
I am unaware of any way to do this using only MATLAB, but you can always call Python from MATLAB.

3 months ago | 0

Answered
matlab application not responding when I try to close a plot
It's a known bug. See, e.g., this lengthy thread.

3 months ago | 1

Answered
What is the differences between RUL models and ML models?
This is not an easy question to answer, and in some ways it is not really a MATLAB question. It is more of a generic modeling qu...

3 months ago | 0

Answered
Subscription Expires in 90 days
The email you received should be explicit about what happens if you allow the subscription to lapse. For example, mine says ===...

3 months ago | 1

Answered
Plot label with text function
The intensities in your structure do not line up with the variable Si_layer1_ExpN. I show this below by splitting figure into t...

3 months ago | 0

Answered
Doesn't show the result as an integer even though the result of the operation is an integer
The answer is floating point arithmetic. See, for example, this question and answer.

3 months ago | 0

Answered
General distribution generator, Poisson distribution and correlation?
One way to generate correlated variables from non-normal distributions is to use copulas. There is a detailed discussion on this...

3 months ago | 0

Answered
Spaghetti plot for linear regression models
In the model you describe, you are not interested in this specific subjects, but consider them to be a random draw from a repres...

3 months ago | 0

| accepted

Answered
How to visualize histogram
You can use the bar function to create it from your data. The link has several examples.

3 months ago | 1

Answered
Identify rows of a matrix, which contain 0's, where there are 1's in an array.
I'm not quite certain this algorithm does what you want, since you only gave one example of the correct output, but I think so. ...

3 months ago | 0

| accepted

Answered
ANN not giving quite favorable results with the new dataset
This could easily be sampling error. Even if your theoretical classification accuracy is 90%, your empirical classification accu...

3 months ago | 0

Answered
I need to know a command to find errors in data file
In this line % Identify errors total_errors = (load('WDWtixdata1.txt') <= 1 & data >= 10); I think you intend something more ...

3 months ago | 1

| accepted

Answered
How can I replace the rand function to real values and how can I change the shape of the drawing resulting from the code
It would be better if you gave a more complete description of what you want. Here is a guess: % Generate Random Load Data numM...

4 months ago | 0

Answered
How to save Matlab Figure without a trasparent background?
This answer explains one way to do it.

4 months ago | 0

Answered
Error using horzcat Dimensions of arrays being concatenated are not consistent.
Your code will run to completion if you change the linspace command to have one fewer points. (I did not check to see if this i...

4 months ago | 0

Answered
Any availiable function to find the Taylor series of multi variables function in Matlab?
syms x y z; f = tanh(x^7*y^9*z^5) % I think you may have had a typo or two in your function, so check this taylor_series = t...

4 months ago | 0

Answered
Matlab 2023b crash when I close a plot
Known issue (among some others with Sonoma). See this thread. I have had success closing figures "manually" if I put the focus ...

4 months ago | 2

Answered
el codigo en el que estoy trabajando debe leer datos en tiempo real de arduino
See this example from the documentation for serialport: s = serialport("COM3",9600,"Timeout",5); data = read(s,16,"uint32"); ...

4 months ago | 0

Load more