photo

Roshan Singh


自 2019 起处于活动状态

Followers: 0   Following: 0

统计学

  • First Answer

查看徽章

Feeds

排序方式:

已回答
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
function summa=halfsum(a) [r,c]=size(a); summa=0; for x=1:r for y=1:c if (x==y)||(x<y) summa=a(x,y...

5 years 前 | 0

已回答
counting no .of temperature less than 32 in array
function numfreeze = freezing(x) f = x(x<32); numfreeze = length(f); end

5 years 前 | 0

已回答
how can i solve this ,can anyone provide me with code? whats wrong with my code ?
function valid=valid_date(year,month,day) if (year>0 && month>0 && day>0 && month<13 && day<32 && isscalar(year)==1 && isscalar...

5 years 前 | 0