reset
Reset state of track logic
Syntax
Description
Examples
Create a history-based logic using the default confirmation threshold and deletion threshold. Get the current state of the logic. The current and maximum score are both 0
.
historyLogic = trackHistoryLogic; history = output(historyLogic)
history = 1×6 logical array
0 0 0 0 0 0
Initialize the logic, then get the current state of the logic.
volume = 1.3; beta = 0.1; init(historyLogic); history = output(historyLogic)
history = 1×6 logical array
1 0 0 0 0 0
Reset the logic, then get the current state of the logic.
reset(historyLogic) history = output(historyLogic)
history = 1×6 logical array
0 0 0 0 0 0
Create a score-based logic using the default confirmation threshold and deletion threshold. Get the current state of the logic. The current and maximum score are both 0
.
scoreLogic = trackScoreLogic; score = output(scoreLogic)
score = 1×2
0 0
Initialize the logic, then get the current state of the logic.
volume = 1.3; beta = 0.1; init(scoreLogic,volume,beta); score = output(scoreLogic)
score = 1×2
11.6699 11.6699
Reset the logic, then get the current state of the logic. The current and maximum score are both 0
.
reset(scoreLogic) score = output(scoreLogic)
score = 1×2
0 0
Input Arguments
Track logic, specified as a trackHistoryLogic
object or trackScoreLogic
object.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2018b
See Also
MATLAB Command
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)