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

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

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

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

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

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

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

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

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

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

5 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"); ...

5 months ago | 0

Answered
How to use Machine Learning Algorithms in classification for categorical problem?
Based on your replies to my comments, this does not seem like a machine learning classification problem to me. It seems like a p...

5 months ago | 0

Answered
Grouping the data of two variables by sum
R = [1; 3; 4; 1; 1; 3]; Z = [3; 2; 1; 3; 2; 2]; E = [0.5; 0.4; 0.3; 0.1; 0.5; 0.4]; tbl = table(R,Z,E) groupsummary(tbl,...

5 months ago | 0

| accepted

Answered
How to fill in o marker with color
Set the MarkerFaceColor property: clc; clear; close all; % Curve Fit - Left of Target x = [1500 1600 1750 1930 2250]; ...

5 months ago | 0

Answered
does kruskal-wallis test on matlab take into account when a sample has a large number of ties or is their a specific function to use in such a situation?
Looking inside the code for anova1 (which is called by kruskalwallis), I see that it uses a formula that is adjusted for ties. I...

5 months ago | 0

| accepted

Answered
How to estimate Y using a linear regression and an uncertain X value.
This is not exactly what you have asked for, but you could also look into doing the first regression using an errors-in-variable...

5 months ago | 0

Answered
Copy a file to a parent folder
copyfile filename ..

5 months ago | 0

Answered
for loop keeps putting out error
Don't use the keyword size as a variable name. I changed it in the code below: % Define the dimensions of the garden area (in s...

5 months ago | 0

Answered
Dealing with NaNs in corr function (upper/lower triangles of matrices with same dimension)
The documentation page for the corr function describes how to use the "Row" name-value parameter to decide how to deal with miss...

5 months ago | 0

| accepted

Answered
New to matlab, trying to understand basic functions still
Assuming that D0a is a matrix, then x is the 1st column of that matrix. (x is a column vector.) nf is the number of elements i...

6 months ago | 0

Answered
How to label names in bar graph?
Can you upload the data, so that we can run your code? You can use the paper clip icon in the INSERT section of the toolbar. Wh...

6 months ago | 0

Answered
How to apply RNN for regression?.
There is a nice introduction to using RNNs in MATLAB documented here.

6 months ago | 0

| accepted

Answered
Matlab freezes. I am using mac Apple M2 Max. OSX sonoma
This is a known bug with R2023b (and also older releases) on Sonoma, officially acknowledged by the MathWorks Support Team. See ...

6 months ago | 0

| accepted

Answered
Error using indexing Too many output arguments.
I'm guessing that in the expression (b1.*B.n3') you intended (b1.*B.*n3') The specific error is because the syntax you used ...

6 months ago | 0

Answered
Documentation about centralized Learning for Multi Agent Reinforcement Learning
References for MATLAB functions are typically in two locations: at the bottom of the page for specific functions (or sometime o...

6 months ago | 0

Answered
I need help figuring out the mistake in my function approximation
Your 5th-degree polynomial is smooth (but not unique, because you only have 4 data points). You just don't plot on a fine enough...

6 months ago | 0

| accepted

Load more