Balakrishna Peram
Followers: 0 Following: 0
Feeds
已回答
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,
on a General sense this should be the answer function [mmr,mmm] = minimax(M) mmr=abs(max(M,[],2)-min(M,[],2)) mmm=max(M,[],'...
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,
on a General sense this should be the answer function [mmr,mmm] = minimax(M) mmr=abs(max(M,[],2)-min(M,[],2)) mmm=max(M,[],'...
3 years 前 | 0