saurav Tiwari
Followers: 0 Following: 0
Statistik
0 Fragen
3 Antworten
RANG
17.385
of 292.813
REPUTATION
2
BEITRÄGE
0 Fragen
3 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
1
RANG
of 19.942
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 148.001
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER 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
etwa 4 Jahre vor | 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
etwa 4 Jahre vor | 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
etwa 4 Jahre vor | 0