![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15511283_1558077828875_DEF.jpg)
mayank ghugretkar
Followers: 0 Following: 0
Feeds
提问
caesar cyphor encryption problem .
Caesar's cypher is the simplest encryption algorithm. It adds a fixed value to the ASCII (unicode) value of each character of a ...
5 years 前 | 42 个回答 | 0
42
个回答已回答
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
this can work too... A bit compact approach function too_young = under_age(age, limit) if nargin < 2 limit = 21; end ...
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
this can work too... A bit compact approach function too_young = under_age(age, limit) if nargin < 2 limit = 21; end ...
5 years 前 | 3
提问
how does a diff operation works for relational and logical cases with arrays ?
i was trying to work with diff operator after trying out sum[1 2 4 6] diff([14 5 6 14 32]) ans= -9 1 8 18 above statemen...
5 years 前 | 2 个回答 | 0
2
个回答已回答
how to replace elements in top third, middle third, and bottom third of matix
function T=trio(n,m) T(3*n,m)=3; % or you can use random no. generation...but since we are assigning alues anyway , this vl wor...
how to replace elements in top third, middle third, and bottom third of matix
function T=trio(n,m) T(3*n,m)=3; % or you can use random no. generation...but since we are assigning alues anyway , this vl wor...
5 years 前 | 3
已回答
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
here's my function.... went a little descriptive for good understanding to readers. function [a,b]=minimax(M) row_max=max(M')...
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
here's my function.... went a little descriptive for good understanding to readers. function [a,b]=minimax(M) row_max=max(M')...
5 years 前 | 5
已回答
Matlab function to take matrix as input and return elements in its four corners as output
function [top_left,top_right,bottom_left,bottom_right] = corners(M) top_left = M(1,1); top_right = M(1,end); bott...
Matlab function to take matrix as input and return elements in its four corners as output
function [top_left,top_right,bottom_left,bottom_right] = corners(M) top_left = M(1,1); top_right = M(1,end); bott...
5 years 前 | 4