Image-Process [MATLAB] MATLAB 코드 단축키

[MATLAB] MATLAB 코드 단축키

1. 주석

 – 주석 처리 ( Ctrl + R )  

    : 주석 처리할 부분을 드래그로 지정한구 여러줄을 한번에 주석처리.

 – 주석 해제 ( Ctrl + T )

    : 주석 부분을 드래그 한후 주석 해제.

2. 코드 정력

  – 코드 정렬 ( Ctrl + i ) 

    :  코드 정렬할 부분을 드래그 한후 코드 정렬.

3. 코드 저장

  – 코드 저장 ( Ctrl + s )

    :  현재까지 진행한 코드 정리 ( 코드저장은 항상 필수 )

4. 작성한 코드 삭제/복원

  – 코드 삭제 ( Ctrl + z ) 

  – 삭제 코드 복원( Ctrl + y )

Leave a Reply

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Related Post

[MATLAB] Changing colors in 3D Graphs[MATLAB] Changing colors in 3D Graphs

가끔 Figure에 이미지 혹은 Plot 데이터를 서로 다른 Colormap 을이용하여 분석할때 유용한 Coloramp 사용 방법이다. z=5*sin(x).*cos(y); ax1=subplot(2,2,1); mesh(x,y,z) colormap(ax1,parula) title('Default colormap(parula)') ax2=subplot(2,2,2); mesh(x,y,z) colormap(ax2,jet) title('Colormap(jet)') ax3=subplot(2,2,3); colormap(ax3,bone) mesh(x,y,z) title('Colormap(bone)') ax4=subplot(2,2,4);