Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
9.364
of 295.527
REPUTAZIONE
4
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
2
RANK
of 154.057
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) mmr=max(m')-min(m'); mmm=max(m,[],'all')-min(m,[],'all'); end or function [mmr,mmm]=minimax(...
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) mmr=max(m')-min(m'); mmm=max(m,[],'all')-min(m,[],'all'); end or function [mmr,mmm]=minimax(...
oltre 4 anni fa | 1
Risposto
if-statement with conditions.
function out=picker(condition,in1,in2) if condition==true out = in1; elseif condition==false out = in2; en...
if-statement with conditions.
function out=picker(condition,in1,in2) if condition==true out = in1; elseif condition==false out = in2; en...
oltre 4 anni fa | 1