Arooba Ijaz
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
12.207
of 295.569
REPUTAZIONE
4
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
1
RANK
of 154.105
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
Calculate taxi fare by giving multiple inputs and single output
function [fare] =taxi_fare (d,t) a=ceil(d) b=ceil(t) fare=(b*0.25)+((a-1)*2)+5 end
Calculate taxi fare by giving multiple inputs and single output
function [fare] =taxi_fare (d,t) a=ceil(d) b=ceil(t) fare=(b*0.25)+((a-1)*2)+5 end
oltre 4 anni fa | 0
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) %finding mmr a=M' b=max(a) c=min(a) mmr=b-c %finding mmm d=max(M) e=max(d) f=min(M) g=...
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) %finding mmr a=M' b=max(a) c=min(a) mmr=b-c %finding mmm d=max(M) e=max(d) f=min(M) g=...
oltre 4 anni fa | 1