필터 지우기
필터 지우기

find the entries in a set of elements

조회 수: 2 (최근 30일)
Thode Sai manish
Thode Sai manish 2019년 2월 3일
댓글: madhan ravi 2019년 2월 4일
Let A= [35,46, 78, 23, 5, 16, 81, 3, 35]
a, Which command is used to find the seventh entry of A.
b, Which command is used to find the sum of third and fifth entries of A.

답변 (1개)

Mundrathi Venugopal
Mundrathi Venugopal 2019년 2월 4일
A = [35,46, 78, 23, 5, 16, 81, 3, 35];
a = A(7); % to find the seventh entry of A
b = sum(A([3 5])); % to find the sum of third and fifth entries of A
  댓글 수: 1
madhan ravi
madhan ravi 2019년 2월 4일
It‘s obviously homework, don’t provide full solution give hints instead.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by