![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18448302_1589140112063.jpg)
A.H.M.Shahidul Islam
Followers: 0 Following: 0
student
統計
MATLAB Answers
0 質問
2 回答
ランク
of 157,725
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
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...
4年以上 前 | 0
回答済み
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
4年以上 前 | 0