photo

mayank ghugretkar


Last seen: plus de 4 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


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 ...

plus de 5 ans il y a | 42 réponses | 0

42

réponses

Réponse apportée
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 ...

plus de 5 ans il y a | 3

Question


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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 5 ans il y a | 3

Réponse apportée
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')...

plus de 5 ans il y a | 5

Réponse apportée
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...

plus de 5 ans il y a | 4