Community Profile

photo

Sumit Kumar Sharma


Last seen: 3 years ago Active since 2020

Statistics

All
  • Solver
  • First Answer

View badges

Content Feed

View by

Answered
function with input a matrix and calcualte sum of elements of its diagonal and right of it
function summa=halfsum(x) [m,n]=size(x); sum=0 for p=1:m for q=1:n if p<=q sum=sum + x(p,q); ...

4 years ago | 0

Answered
caesar cyphor encryption problem .
function coded=caesar(a,b) x=double(a); k=mod(b,95); q=[]; for j=1:length(x) p=x(j)+k; if p<=126 && p>=32 ...

4 years ago | 0

Answered
how can i solve this ,can anyone provide me with code? whats wrong with my code ?
%% I think this might help function valid=valid_date(y,m,d) if isscalar(y) && y>0 && fix(y)==y && isscalar(m) && m<=12 && ...

4 years ago | 0