Reshape histogram in other size

1 次查看(过去 30 天)
Dani D
Dani D 2016-6-15
Hello, I have one histogram with 1*256 double And i want reshape it with 256*1 How can do it? Thanks

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by