Roshan Singh
Followers: 0 Following: 0
Statistics
0 Questions
4 Answers
RANK
144.536
of 295.448
REPUTATION
0
CONTRIBUTIONS
0 Questions
4 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20.227
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153.872
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
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...
ongeveer 5 jaar ago | 0
counting no .of temperature less than 32 in array
function numfreeze = freezing(x) f = x(x<32); numfreeze = length(f); end
ongeveer 5 jaar ago | 0
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function [summa, index]=max_sum(v,n) L=length(v); p=L-(n-1); k=0; t=0; for i=1:p z=n+k; k=k+1; s=0; for...
ongeveer 5 jaar ago | 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...
meer dan 5 jaar ago | 0