필터 지우기
필터 지우기

how to find 4th value of vector in matrix

조회 수: 1 (최근 30일)
vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam 2012년 2월 19일
i have answer given by matlab in the form of vector
A=[2,3,6,8,7,5,4,2,7,8,9]
now i need to find only 4th value(which is 8 ) to appear on screen?

채택된 답변

Wayne King
Wayne King 2012년 2월 19일
A=[2,3,6,8,7,5,4,2,7,8,9];
B = A(4)

추가 답변 (1개)

vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam 2012년 2월 19일
thank you
  댓글 수: 1
Jan
Jan 2012년 2월 19일
It is recommended to read the Getting Started chapters of the documentation.

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

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by