toeplitz
Toeplitz 行列の作成
説明
例
対称テプリッツ行列の作成
r = fi([1 2 3]); toeplitz(r)
1 2 3 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 13 RoundingMethod: Nearest OverflowAction: Saturate ProductMode: FullPrecision SumMode: FullPrecision Tag: ans = 1 2 3 2 1 2 3 2 1 numerictype(1,16,13)
非対称テプリッツ行列の作成
指定された列ベクトルと行ベクトルを使用して非対称テプリッツ行列を作成します。
toeplitz(a,b)
は b
を a
のデータ型にキャストします。この例では、オーバーフローが発生します。
fipref('NumericTypeDisplay','short'); format short g a = fi([1 2 3],true,8,5) b = fi([1 4 8],true,16,10) toeplitz(a,b)
a = 1 2 3 numerictype(1,8,5) b = 1 4 8 numerictype(1,16,10) ans = 1 3.9688 3.9688 2 1 3.9688 3 2 1 numerictype(1,8,5)
toeplitz(b,a)
は a
を b
のデータ型にキャストします。この例では、オーバーフローは発生しません。
toeplitz(b,a)
ans = 1 2 3 4 1 2 8 4 1 numerictype(1,16,10)
toeplitz
の引数の 1 つが組み込みデータ型の場合、それは fi
オブジェクトのデータ型にキャストされます。
x = double([1 exp(1) pi]); toeplitz(a,x)
ans = 1 2.7188 3.1563 2 1 2.7188 3 2 1 numerictype(1,8,5)
入力引数
a
— テプリッツ行列の列
スカラー | ベクトル
テプリッツ行列の列。スカラーまたはベクトルとして指定します。a
と b
の最初の要素が異なる場合、toeplitz
は対角に列の要素を使用します。
データ型: fi
複素数のサポート: あり
b
— テプリッツ行列の行
スカラー | ベクトル
テプリッツ行列の行。スカラーまたはベクトルとして指定します。a
と b
の最初の要素が異なる場合、toeplitz
は対角に列の要素を使用します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| fi
複素数のサポート: あり
出力引数
t
— テプリッツ行列
fi
オブジェクト
テプリッツ行列。fi
オブジェクトとして返されます。
出力の fi
オブジェクト t
は左端の fi
オブジェクト入力と同じ numerictype
プロパティをもちます。左端の fi
オブジェクト入力がローカル fimath
をもつ場合、出力の fi
オブジェクトには同じローカル fimath
が割り当てられます。それ以外の場合は、出力 fi
オブジェクト t
にはローカル fimath
がありません。
バージョン履歴
R2006a より前に導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)