photo

Nisheeth Ranjan


Last seen: environ 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
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(A) mmt=[max(A,[],2)-min(A,[],2)]; mmr=mmt' mmm=max(max(A))-min(min(A)) This is the easiest code...

environ 4 ans il y a | 1