A.H.M.Shahidul Islam
Followers: 0 Following: 0
student
Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
259.885
of 294.533
REPUTAZIONE
0
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
RANK
of 151.874
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
I get an error, what's wrong? on Sparse matrix logic and answer
% 100% accurate function matrix=sparse2matrix(m) m=cell(m); r=m{1}(1);c=m{1}(2);dv=m{2}; ss=size(m); matrix=sparse(r,c...
I get an error, what's wrong? on Sparse matrix logic and answer
% 100% accurate function matrix=sparse2matrix(m) m=cell(m); r=m{1}(1);c=m{1}(2);dv=m{2}; ss=size(m); matrix=sparse(r,c...
circa 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) m=M'; mmr=abs(max(m)-min(m)); mmm=max(M(:))-min(M(:)); %works like a charm
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) m=M'; mmr=abs(max(m)-min(m)); mmm=max(M(:))-min(M(:)); %works like a charm
circa 4 anni fa | 0