A résolu


to the 2 all elements
to the 2 all elements

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

Question


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

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 2 réponses | 0

2

réponses