已回答
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...

1 year 前 | 0

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

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 1

已回答
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 ...

1 year 前 | 2

已回答
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"); ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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,...

1 year 前 | 0

| 已接受

已回答
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]; ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
Copy a file to a parent folder
copyfile filename ..

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

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

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
prctile function and percentile function in excel
Quoting the Wikipedia article on Percentile, "There is no standard definition of percentile". Because of this, there can be diff...

1 year 前 | 0

已回答
dbstop if error not working
ferror is the name of a built-in MATLAB function (which the debugger cannot open into). I expect it is being called, rather than...

1 year 前 | 0

已回答
Error using confusionmat command
I'd like to see the data, but in this line C_nn = confusionmat(Y_test, Y_pred_nn); isn't Y_test a Nx1 vector (where N is the n...

1 year 前 | 0

已回答
How to have same heading for different columns in the table?
You can't have identical column names. If it's just for display purposes, you could add whitespace. t1 = rand(3,1); t2 = rand(...

1 year 前 | 0

已回答
MATLAB editor change 2021a to 2023b - Clear all breakpoints
You can still remove groups of breakpoints via the ribbon, but it does take an extra click (on the Run pull-down). This annoyed...

1 year 前 | 0

| 已接受

已回答
strong.mat file not found in MATLAB installation
The reason is that starting with R2023a, the default MATLAB installation no longer install a local copy of the documentation. Th...

1 year 前 | 1

| 已接受

已回答
Error using readtable '.1(0a)' is not a recognized file extension. Unable to detect file type.
MATLAB can't autodetect the file type, and you're not sure either, so you can try to experiment. You can specify a ('Name','Valu...

1 year 前 | 0

已回答
String in an axis label that varies depending on code
There are many possible ways to achieve this. One way is to store the strings in an array, and then index into that array using ...

1 year 前 | 0

| 已接受

已回答
install MATLAB 2017b version
Go to the Downloads page On the left-hand side of the page, click on "Show More" Click on R2017b Follow the instructions

1 year 前 | 0

加载更多