Community Profile

photo

tinkiewinkie


Last seen: nästan 4 år ago Active since 2020

Statistics

  • Thankful Level 3
  • First Review

View badges

Content Feed

View by

Question


Counting elements in cell array
Hi suppose I have a column of different label of ant, cat, dog and fish formatted as cell in matlab, how do I count how many "an...

nästan 4 år ago | 2 answers | 0

2

answers

Question


How do I take repeat the calculation of average column?
Hi suppose I have the above data, how do I repeat the calculation for the average column of data 1, data 2 and data 3 respecti...

nästan 4 år ago | 1 answer | 0

1

answer

Question


How do I sort a cell of data according to it's label?
Hi suppose I have the following data, how do i sort the following data in the order of stridor first followed by wheeze t...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How do the multiclass SVM model function 'fitcecoc' work?
Mdl = fitcecoc(X,Y) Suppose I have 4 classes as below: As seen from the table below, suppose for learner 1, the svm predicte...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How do I change the class label of the confusion matrix?
Hi suppose I used the code below and the class label of the confusion matrix is 1,2,3. How to I change the class label to 'apple...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to choose 5 random rows from an array of 8 rows for 10 times and save the 10 results
Hi suppose I have an array of 8 rows as below: I wish to choose 5 random rows 10 times Suppose 6,4,8,7,2 is the first rand...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How do I relabel classes into one sub group?
Suppose I have 3 different classes below, how to I relabel 'versicolor' and 'virginica' into another class named 'abnormal' temp...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How do I extract the rows that have value 0 in one array from another new array?
Suppose I have the following: How do I extract rows with zero value, example: row 1,9,10,11,12 from another new array? Thank...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How can I select rows in an array based on the values in the first row of another array?
Hi suppose I have a column of values like : How do I select every other row that are not displayed in the rows above in anot...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How do I generate 1000 random rows from an array only once, so that if I run the program again, it will still be the same set of randomly generated number previously
% Generate a matrix named foo foo = randn(10000,2); % draw 1000 random samples index = randsample(1:length(foo), 1000); bar ...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How can I select rows in an array based on the values in the first column of another array?
Hi suppose I have a column of values like : How do I select rows in another array based on the array above, Example: row 46,...

ungefär 4 år ago | 1 answer | 0

1

answer