Nov 11, 2012

Populating matrix without loop emphasizing the diagonal

a = repmat(0.09, n, n);
a(1:n+1:end) = 0; % zero value at the diagonal entries;

No comments:

Down with the Dictatorship!

    "Let them hate me, so that they fear me" - Caligula 41AD