Put edges of a matrix to zero – mathematica.stackexchange.com

I have to set the first and last rows and columns to zero rows and columns. I tried with the first column: For[a = 1, a <= 3, a++, M = ReplacePart[mat, {a, 1} -> 0]; Print[M]] ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Put edges of a matrix to zero – mathematica.stackexchange.com"