Reshape histogram in other size

Hello, I have one histogram with 1*256 double And i want reshape it with 256*1 How can do it? Thanks

Answers (1)

Use the transpose operator or use rehape
counts = counts'; % Transpose
or
counts = reshape(counts, [], 1);

Tags

Asked:

on 15 Jun 2016

Answered:

on 15 Jun 2016

Community Treasure Hunt

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

Start Hunting!