Constructing and identity in QT format

Go to: Back / Home Page

The command eye constructs an identity represented in the QT format.

Contents

Syntax

Example

We can use the command to build the identity for both finite and infinite matrices, as follows:

I = eye(inf, 'like', cqt);
I(1:4, 1:4)
ans =

     1     0     0     0
     0     1     0     0
     0     0     1     0
     0     0     0     1