MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

The first input argument to pareto must be a vector. If a categorical array is a matrix or
multidimensional array, reshape it into a vector before calling countcats and pareto.


Create Scatter Plot


Convert the cell array of character vectors to a categorical array.


Gender = categorical(Gender);


Summarize the categorical array, Gender.


summary(Gender)


Female 53
Male 47


Plot Categorical Data
Free download pdf