MATLAB ヘルプ センター
トラック ロジックの現在の状態を取得
R2021a 以降
history = output(historyLogic)
history = output(historyLogic) は、トラック履歴ロジック オブジェクト historyLogic の最近の履歴更新を返します。
history
historyLogic
例
すべて折りたたむ
履歴ベースのロジックを作成します。確認しきい値 Mc と Nc をベクトル [3 5] として指定します。削除しきい値 Md と Nd をベクトル [6 7] として指定します。
historyLogic = trackHistoryLogic('ConfirmationThreshold',[3 5], ... 'DeletionThreshold',[6 7]);
ロジックの最新の履歴を取得します。長さが 7 の履歴ベクトル。これは、Nc と Nd の大きい方です。ロジックが初期化されていないため、すべての値が 0 です。
0
h = output(historyLogic)
h = 1×7 logical array 0 0 0 0 0 0 0
ロジックを初期化してから、ロジックの最新の履歴を取得します。最初の要素 (最新の更新を示す) は 1 です。
init(historyLogic); h = output(historyLogic)
h = 1×7 logical array 1 0 0 0 0 0 0
hit でロジックを更新してから、ロジックの最新の履歴を取得します。
hit(historyLogic); h = output(historyLogic)
h = 1×7 logical array 1 1 0 0 0 0 0
trackHistoryLogic
トラック履歴ロジック。trackHistoryLogic オブジェクトとして指定します。
historyLogic の最新のトラック履歴。logical ベクトルとして返されます。このベクトルの長さは、historyLogic の History プロパティの長さと同じです。最初の要素は最新の更新です。値 true はヒットを表し、値 false はミスを表します。
History
true
false
すべて展開する
R2021a で導入
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ