Respondida
Error using fitrm function classreg.regr.FormulaProcessor>parseStr
I agree with @Harald, that a linear mixed effects model is likely a good choice here: load("data.mat","data") modelspec = 'X ~...

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 2

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 1

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 2

Cargar más