An Introduction To MatLAB & Simulink1
An Introduction To MatLAB & Simulink1
An Introduction To MatLAB & Simulink1
Transfer Function Tf([ Numerator Coefficients],[ Denominator Coefficients]) i.e. sys = tf([1],[1 3 2]);
1 sys ! 2 s 3s 2
diff(function, variable)
m bx kx ! F x
X s
1 ! 2 F s
s 4 s 2
1 0 0 ?xA! ?x A 1 / 1 F 2 / 1 4 / 1 y ! ? 0A?x A 0 F 1
Introduction To Simulink
Simulink is a graphical representation of systems, differential equations, or problems encountered in engineering fields. Blocks can be assembled to reproduce almost anything as long as it can be modeled mathematically. Simulink has become an important part of aeronautical, astronautical, computer, electrical, and mechanical engineering programs and industries.
Simulink Toolboxes
These are some of the toolboxes simulink has. We will use only the first toolbox Simulink and Simulink Extras further down.
These are the most commonly used blocks for Mechanical Engineers.
Simulink: Example 3