![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10897521_1586078776233_DEF.jpg)
Sumit Kumar Sharma
Followers: 0 Following: 0
Statistik
All
RANG
173.423
of 297.016
REPUTATION
0
BEITRÄGE
0 Fragen
4 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 20.419
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Beantwortet
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); ...
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); ...
mehr als 4 Jahre vor | 0
Beantwortet
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 ...
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 ...
mehr als 4 Jahre vor | 0
Gelöst
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
mehr als 4 Jahre vor
Beantwortet
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); if n>l summa=0; index=-1; else p=l-n+1; ii=0; tota...
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); if n>l summa=0; index=-1; else p=l-n+1; ii=0; tota...
mehr als 4 Jahre vor | 0
Beantwortet
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 && ...
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 && ...
mehr als 4 Jahre vor | 0