Risposto
How can I use repeated, k-fold cross-validation results with rocmetrics?
Note the following line from the rocmetrics documentation: "For cross-validated data, you must specify Labels, Scores, and Weig...

quasi un anno fa | 0

Risposto
How to tile m by n plots (all different) and add row titles
You can use the annotation command to add text annotations to your figure. v=tiledlayout(2,4); nexttile(1) plot(rand(8,1))...

circa un anno fa | 0

| accettato

Risposto
glmfit: Iteration limit reached
The first thing I notice is that the X data has missing values (NaN). MATLAB automatically removes observations (i.e. rows) wit...

circa un anno fa | 1

Risposto
How can I know which ditribution is appropriate to fit on the generated histogram? and, How can I do that?
Fitting to the histogram of data, instead of to the raw data, is typically a bad modeling practice, because you introduce error ...

circa un anno fa | 0

Risposto
I got error in this script
The line time = datas(:,1); will give a table with one variable. You need to use curly brackets in access the contents of the ...

circa un anno fa | 0

| accettato

Risposto
Run a repeated measures anova as a mixed effects model using fitlme
Please see my comment about helping us help you. That being said, I don't think you can specify the response variable as look_...

circa un anno fa | 0

Risposto
How to distribute a matlab app using matlab web app server and AWS?
A google search turns up this documentation page on how to Run MATLAB Web App Server on AWS using Reference Architecture.

circa un anno fa | 0

Risposto
I lost my computer where my matlab R2019b was installed
Follow the instructions on this page, under "Deactivate License on Lost or Destroyed Machine".

circa un anno fa | 0

| accettato

Risposto
What do the columns in the output of "matlab -timing" mean?
The -timing switch is a formerly documented feature, that still exists but is now undocumented. (I learned that fact from this i...

circa un anno fa | 0

| accettato

Risposto
How to change box-view styles in a 3-D plot?
It's best to ask to such different questions in two different posts. The answer to your first question is to use the view funct...

circa un anno fa | 0

| accettato

Risposto
Matrix to Column vector? For ground motion timehistory
% Making a smaller matrix, to see the result more easily gm = magic(3) % The algorithm: gmt = gm.'; %Transpose gm_col = gm...

circa un anno fa | 0

Risposto
Reading a Datetime Column as Numbers Instead of Actual Dates in MATLAB
An alternative solution to my other one, but possibly more expedient for you in working with existing code, would be to use the ...

circa un anno fa | 0

| accettato

Risposto
Reading a Datetime Column as Numbers Instead of Actual Dates in MATLAB
As it says on the documentation page, use of xlsread is not recommended. You will almost certainly be on a happer road if you r...

circa un anno fa | 0

Risposto
how to Calculate Gravity
You are not indexing into x correctly. Here is one way to fix it: r=8; z=15; x=0:10:100; dp=2400; G=6.67e-11; for i=1:nume...

circa un anno fa | 0

| accettato

Risposto
Add multiple rows of a matrix in one row.
% Create an input matrix like yours n = 4; M = rand(n,3) % Calculate the sum sumM = sum(M) As you may realize, this is a v...

circa un anno fa | 0

| accettato

Risposto
Read multiple csv of similar names
Something like this for x = 0:99 filename = sprintf("values%d.csv",x) tbl{x+1} = readtable(filename); end This will...

circa un anno fa | 0

| accettato

Risposto
What does 1V mean?
I see that that line of code is from the documentation for findpeaks. It presumably does mean volts (from context), but you can ...

circa un anno fa | 0

Risposto
How can get a correlation plot?
Here is one plan of action: Use the readtable function to load your data into MATLAB Use corrplot to get the plot Use the cor...

circa un anno fa | 0

Risposto
what's wrong with my ks test?
My guess here is that this line of code C = wblrnd(100,1); is not doing what you expect. It is generating just one value, from...

circa un anno fa | 0

| accettato

Risposto
Merging multiple graphs in the same tiled layout
If I understand what you mean, you just need to use the hold function (just after nexttile) to retain plots, rather than replaci...

circa un anno fa | 0

Risposto
.csv using readtable doesn't make difference between the value 1 and 01
% Detect the automatic import options opts = detectImportOptions("23_Time Cards_Practice 1.CSV"); % Change of import type of...

circa un anno fa | 1

Risposto
Plot legend has too many entries
This line yieldline_steel = plot(x1,y1,x,y_steel) plots two objects, the first of which is just a single point.

circa un anno fa | 0

| accettato

Risposto
How can I modify a list of existing variables programmatically?
You've seen @Walter Roberson's answer, and it is spot-on. That being said, what you want to do is possible, using the appropriat...

circa un anno fa | 1

Risposto
Get exact curve parameters in the fit function
The four decimal places are just the default display value. You can change that with the format command. For example, use format...

circa un anno fa | 1

| accettato

Risposto
If statement not working for trig quad check
I did not look in detail, but I'd be willing to bet that the problem lies in making comparisons between floating-point numbers, ...

circa un anno fa | 0

| accettato

Risposto
Mathematical functions across variables
If you just want to know their sum A(1,1) + B(2,1) If you want to add A(1,1) to the value stored in B(2,1) B(2,1) = A(1,1) + ...

circa un anno fa | 0

Risposto
Plot ECDF and histogramm of distribution
Do you mean you want to avoid drawing the additional horizontal red lines? I think you'll need to do something "manually", beca...

circa un anno fa | 0

| accettato

Risposto
Are "fitrnet" and "fitnet" using backpropagation?
I am not an expert, but my read of the documentation is that all the algorithms used by fitnet, at least, will use backpropagati...

circa un anno fa | 1

Risposto
How to update leap seconds
The file leapseconds.m calls a built-in file to get the list of leap seconds, but you can edit that file to add additional ones....

circa un anno fa | 0

Risposto
Random number generate in an interval
A normal distribution, by definition, has support from negative infinity to positive infinity. You cannot have both a normal dis...

circa un anno fa | 0

Carica altro