Construction QT matrices

Go to: Back / Home Page

The cqt command can be used to construct QT matrices from several input data. Different syntaxes are supported.

Contents

Syntax

Example

A = cqt([ 1 2 3], [1 4 5 6], -ones(2));
A(1:8, 1:8)
ans =

     0     3     5     6     0     0     0     0
     1     0     4     5     6     0     0     0
     3     2     1     4     5     6     0     0
     0     3     2     1     4     5     6     0
     0     0     3     2     1     4     5     6
     0     0     0     3     2     1     4     5
     0     0     0     0     3     2     1     4
     0     0     0     0     0     3     2     1