채택된 답변

madhan ravi
madhan ravi 2018년 10월 17일
편집: madhan ravi 2018년 10월 17일

3 개 추천

An example:
A=rand(1,100,100)
reshape(A,100,100)

댓글 수: 2

Ivan Leonov
Ivan Leonov 2018년 10월 17일
Thanks!
madhan ravi
madhan ravi 2018년 10월 17일
you're welcome :)

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Luna
Luna 2018년 10월 17일

1 개 추천

Hi Ivan
Take a look at reshape function it may help you.
Kawther Hassan Al-khafaji
Kawther Hassan Al-khafaji 2022년 10월 5일

0 개 추천

color_img=cat(3,R,G,B);
I wont to covert this image matrix to 2D image matrix pleas

댓글 수: 1

Steven Lord
Steven Lord 2022년 10월 5일
If you want to convert that into an indexed image (with a separate colormap) see the rgb2ind function.
If that's not what you want, please describe in more detail exactly how you want this conversion to behave.

댓글을 달려면 로그인하십시오.

태그

질문:

2018년 10월 17일

댓글:

2022년 10월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by