필터 지우기
필터 지우기

An NxNxN matrix code

조회 수: 2,918 (최근 30일)
dunphy
dunphy 2021년 11월 11일
댓글: Spaceman 2024년 3월 6일
How do I code for NxNxN matrix using a letter.

채택된 답변

KSSV
KSSV 2021년 11월 11일
text(0.5,0.5,'D','FontSize',90,'Color','k')
axis off
I=frame2im(getframe(gcf));
iwant = imresize(I,[50 50]) ;
imshow(iwant)
  댓글 수: 4
dunphy
dunphy 2021년 11월 11일
text(0.5,0.5,'D','FontSize',90,'Color','k')
what are these for?
Spaceman
Spaceman 2024년 3월 6일
text adds text to one point, specifying x and y as scalars. i.e. (0.5,0.5)
'D' is what appears in the image.
'Fontsize',90 specifies how large the D will be.
'Color','k' dictates the D will be black.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by