![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18660586_1596814586338.png)
Yachika Singh
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
約4年 前
解決済み
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
約4年 前
回答済み
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A, that is, elements in the counter-diagonal (going from the bottom left c
%for any random matrix function summa=halfsum(A) [row, col]=size(A); summa=0; for i=1:row for j=i:col if i<=j ...
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A, that is, elements in the counter-diagonal (going from the bottom left c
%for any random matrix function summa=halfsum(A) [row, col]=size(A); summa=0; for i=1:row for j=i:col if i<=j ...
約4年 前 | 4