Reshape histogram in other size

조회 수: 2 (최근 30일)
Dani D
Dani D 2016년 6월 15일
답변: Image Analyst 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