A répondu
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...

environ 2 mois il y a | 1

| A accepté

A répondu
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...

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 0

A répondu
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 mois il y a | 1

A répondu
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 mois il y a | 0

| A accepté

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 2

A répondu
how toggle this warning using unstack function
warning("off","MATLAB:table:ModifiedAndSavedVarnames") warning("on", "MATLAB:table:ModifiedAndSavedVarnames")

2 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

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

3 mois il y a | 1

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 1

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

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

3 mois il y a | 1

A répondu
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 mois il y a | 0

| A accepté

A répondu
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...

4 mois il y a | 0

A répondu
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 ...

4 mois il y a | 1

| A accepté

A répondu
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 mois il y a | 0

A répondu
How to save Matlab Figure without a trasparent background?
This answer explains one way to do it.

4 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 2

A répondu
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 mois il y a | 0

Charger plus