Reshape histogram in other size

1 view (last 30 days)
Dani D
Dani D on 15 Jun 2016
Answered: Image Analyst on 15 Jun 2016
Hello, I have one histogram with 1*256 double And i want reshape it with 256*1 How can do it? Thanks

Answers (1)

Image Analyst
Image Analyst on 15 Jun 2016
Use the transpose operator or use rehape
counts = counts'; % Transpose
or
counts = reshape(counts, [], 1);

Tags

Community Treasure Hunt

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

Start Hunting!