Reshape histogram in other size

2 Ansichten (letzte 30 Tage)
Dani D
Dani D am 15 Jun. 2016
Beantwortet: Image Analyst am 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

Antworten (1)

Image Analyst
Image Analyst am 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!

Translated by