フィルターのクリア

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 Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by