![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17411082_1580388579389_DEF.jpg)
Vetrimurasu Baskaran
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,
function [mmr,mmm] = minimax(M) r = size(M); val = r(1); mmr = inf; for i = 1:val mmr(i) = max(M(i,...
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) r = size(M); val = r(1); mmr = inf; for i = 1:val mmr(i) = max(M(i,...
대략 2년 전 | 0