小车 Resources

Showing items tagged with "小车"

This example employs optimal control methodology using quadratic performance indices to achieve optimal values for both the sliding distance of the cart and the energy consumption throughout the process. The program includes MATLAB files: initial.m (initialization), yjlqgctr.m (controller design), cartoon.m (visualization), and Simulink model simlqgyj.slk (simulation).

MATLAB 243 views Tagged

Create a user interface for controlling inverted pendulum animation. The interface includes: -static text, 2-popup menus, 4-push buttons, and 1-axes component. Users first specify the cart's starting and ending coordinates, then click "Start" to begin simulation. Clicking "Pause" stops the animation, which can be resumed by pressing any keyboard key. After simulation completion, click "Refresh" to clear the screen. Click "Exit" to close the window, followed by "OK" for confirmation.

MATLAB 233 views Tagged