Gelöst


to the 2 all elements
to the 2 all elements

11 Monate vor

Gelöst


the average value of the elements
Calculate the average value of the elements in the array

11 Monate vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

11 Monate vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

11 Monate vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11 Monate vor

Frage


How do you replace NaN values in column n with the average of the all the values in column n?
I have a 9172x27 matrix called ProjectData_E where there is a handful of missing data. I have found a way to find the average v...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do you change the color on a class in a legend?
I have only included the code that does the plotting: figure; hold on plot(Xred(1,:),Xred(2,:),'r.'); plot(Xblue(1,:),Xblue...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I create a 2-D plot with a matrix that contains data points and a matrix that contains class labels?
I would like to create a 2-d plot where the data points come from one matrix called features (8000x2). Column 1 contains the x ...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten