Re: Unit matrix?
- From: desktop <fff@xxxxxxx>
- Date: Sun, 30 Sep 2007 16:34:09 +0200
desktop wrote:
How do I make a 4x4 unit matrix in matlab:
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
I have tried:
ones(4,4)
but that fills 1 in every position.
eye(4) did the job.
.
- References:
- Unit matrix?
- From: desktop
- Unit matrix?
- Prev by Date: Unit matrix?
- Next by Date: ill-conditioned matrices and what to do about them?
- Previous by thread: Unit matrix?
- Next by thread: ill-conditioned matrices and what to do about them?
- Index(es):