schematic
Visualization
Generate an SVG schematic of a physical system with labeled component values. Supports 10 system types: 'spring-mass-damper', 'pendulum', 'damped-pendulum', 'rlc-circuit', 'coupled-masses', 'rotational', 'dc-motor', 'thermal', 'tank', 'double-pendulum'.
Syntax
schematic('spring-mass-damper', struct('m', 2, 'c', 0.5, 'k', 10))schematic('pendulum', struct('L', 1, 'm', 0.5))schematic('dc-motor', struct('R', 1, 'L', 0.01, 'Kb', 0.1, 'Kt', 0.1, 'J', 0.01, 'b', 0.001))Examples
schematic('spring-mass-damper', struct('m', 2, 'c', 0.5, 'k', 10))▶ Runschematic('pendulum', struct('L', 1, 'm', 0.5, 'g', 9.81))▶ Runschematic('rlc-circuit', struct('R', 100, 'L', 0.01, 'C', 0.001))▶ Runschematic('rotational', struct('I', 0.5, 'b', 0.1, 'tau', 2))▶ Runschematic('dc-motor', struct('R', 1, 'L', 0.01, 'Kb', 0.1, 'Kt', 0.1, 'J', 0.01, 'b', 0.001))▶ Runschematic('thermal', struct('m', 1, 'C', 500, 'h', 10, 'A', 0.1, 'T_env', 25))▶ Runschematic('tank', struct('A', 1, 'Cd', 0.6, 'a', 0.01))▶ Runschematic('double-pendulum', struct('L1', 1, 'L2', 0.8, 'm1', 1, 'm2', 0.5))▶ RunSee Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab