Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Trying to implement a feature in Simulink (Help)

2 ビュー (過去 30 日間)
Reuben
Reuben 2016 年 4 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a Simulink diagram that controls a motor using state feedback control
One of the measurement devices is a gyro that has a tendency to change bias often.
Currently I have a predefined "bias" that eliminates the bias. The issue is that this number changes every time I start the test.
I want to implement a feature in my Simulink diagram that (for only the first 1 second) reads the gyro value and sets that as the bias to use for the rest of the time.
This way the bias automatically redefines at the start of every test.
Thanks.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by