photo

AYUSH GURTU


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
I get an error, what's wrong? on Sparse matrix logic and answer
function [matrix]=sparse2matrix(incell) S=size(incell); q=S(2)-2; msize=incell{1}; mdef=incell{2}; matrix=repmat(mdef,msize...

5 years ago | 4

Answered
how to replace elements in top third, middle third, and bottom third of matix
function T = trio (n, m) T = randi (10, (3 * n) , m); T (1:n,:) = 1; T ((n+(1:n)),:) = 2; T (n+(n+(1:n)):end,:) = 3; end

5 years ago | 11

Answered
matrix related matlab query
function [mmr, mmm] = minimax(M) mmr = (max(M,[],2)-min(M,[],2))'; mmm = max(M(:))-min(M(:)); end

5 years ago | 0