photo

Deepanshu Parihar


MathWorks MOOC Program

自 2015 起处于活动状态

Followers: 0   Following: 0

消息

统计学

MATLAB Answers

1 个提问
0 个回答

排名
160,234
of 300,057

声誉
0

贡献数
1 个提问
0 个回答

回答接受率
100.0%

收到投票数
0

排名
 of 20,866

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 167,162

贡献数
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 years 前 | 8 个回答 | 0

8

个回答