photo

Deepanshu Parihar


MathWorks MOOC Program

2015 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

1 質問
0 回答

ランク
149,420
of 300,813

評判
0

コントリビューション
1 質問
0 回答

回答採用率
100.0%

獲得投票数
0

ランク
 of 21,086

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,169

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

Feeds

表示方法

質問


Write a function called halfsum that takes as input an at most two-dimensional matrix A and computes the sum of the elements of A that are in the diagonal or are to the right of it. example, the input is [1 2 3; 4 5 6; 7 8 9],the ans is 26
function s = halfsum(A) [row col] = size(A); if row ~= col error('Expecting a square matrix here people...'); end s = 0; ...

10年以上 前 | 8 件の回答 | 0

8

回答