Hi i need to write in one code line function who does the same as repmat function Anyone's idea please :)

 채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 30일

0 개 추천

Hint:
Instead of writing
MyRGBImage = repmat(MyGrayScaleImage, 1, 1, 3)
I write
MyRGBImage = repmat(MyGrayScaleImage(:,:, ones(1,3))

댓글 수: 2

yuval ohayon
yuval ohayon 2017년 7월 31일
Not what i ment,i need to change matrix without the repmat func
Sorry, I meant to write,
MyRGBImage = MyGrayScaleImage(:,:, ones(1,3))

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

추가 답변 (1개)

yuval ohayon
yuval ohayon 2017년 7월 31일

0 개 추천

Not what i ment.. Without using repmat function..

댓글 수: 1

Jan
Jan 2017년 8월 1일
Please do not post comments in the section for answers.

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

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2017년 7월 30일

댓글:

Jan
2017년 8월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by