Ask Your Question

How could I copy a matrix to another matrix?

asked 2017-04-16 21:57:55 -0500

I have a matrix and I wanna copy this matrix to another matrix(let's call them M1 and M2),

but when I use: M2=M1 and modify M1, M2 changes too, which means M1 and M2 are actually one matrix.

So how should I copy the matrix, just the value of entries.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-04-17 07:23:35 -0500

FrédéricC gravatar image

Like that

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-04-16 21:57:28 -0500

Seen: 62 times

Last updated: Apr 17