
Shamith Raj Shetty
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
1 Risposta
RANK
87.673
of 296.911
REPUTAZIONE
0
CONTRIBUTI
0 Domande
1 Risposta
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
RANK
of 157.376
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
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 [mmr,mmm] = minimax(M) N = M'; mmr = max(N)-min(N); mmm = max(max(N))-min(min(N)); end
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 [mmr,mmm] = minimax(M) N = M'; mmr = max(N)-min(N); mmm = max(max(N))-min(min(N)); end
circa 4 anni fa | 0