Chappa Likhith
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,
In editor window: function [mmr,mmm]=minimax(M) mmr=difference(M') %M' is a tranpose of M. If you want to know why this.. ...
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,
In editor window: function [mmr,mmm]=minimax(M) mmr=difference(M') %M' is a tranpose of M. If you want to know why this.. ...
3 years 前 | 0