Pareto chart in matlab for N x M matrix

2 views (last 30 days)
Kaushal Kishore
Kaushal Kishore on 28 Sep 2018
Answered: ANKUR KUMAR on 28 Sep 2018
Hi Suppose i have a NxM matrix and i want to analysis the data using Pareto chart. What approach do i have to take in-order to achieve this. Thank You

Answers (2)

ANKUR KUMAR
ANKUR KUMAR on 28 Sep 2018
What do you mean by this "What approach do i have to take in-order to achieve this"? If you have M*N matrix, then you can change to row matrix and plot pareto chart.
A=randi(20,10,10);
pareto(A(:))

Basil C.
Basil C. on 28 Sep 2018
Edited: Basil C. on 28 Sep 2018
Did you try by converting the NxM matrix into an array having all the N*M elements and the use the pareto function?
Need a bit of clarity on what you actually need.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!