Code covered by the BSD License  

Highlights from
Test and Measurement Seminar Demos

image thumbnail
from Test and Measurement Seminar Demos by Scott Hirsch
Source code for Test and Measurement Seminar Demos, including electronic throttle body case study.

throttle_simulation_init.m
%throttle_simulation_init   Initialization file for Throttle Simulation

%Initial guess at parameters
m=.35;      %Mass
c=11;       %Damping
k=1;        %Stiffness

%Angles.  Specify as [0,1].  Map to [0,90].
angle_init = .2;    %Intentionally not very good
angle_maxopen = 1;
angle_open = 1;

Contact us at files@mathworks.com