saurav Tiwari
Followers: 0 Following: 0
Statistiques
0 Questions
3 Réponses
RANG
22 176
of 295 940
RÉPUTATION
2
CONTRIBUTIONS
0 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
1
RANG
of 20 307
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 945
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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
function [a]=under_age(n,m) a=n<m; if a==1; fprintf('true') end if nargin<2; m=21; end end
plus de 4 ans il y a | 0
How to write function for above combine matrix?
function T=trio(n,m) a=ones(n,m);b=2*a;c=3*a; T=[a;b;c]; end
plus de 4 ans il y a | 1
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,
function [a,b]=minimax(M) [m,n]=size(M); x=1:m; a=max(M(x,:)')-min(M(x,:)'); v=M(:); b=max(v)-min(v); end
plus de 4 ans il y a | 0