top of page
RECENT POSTS

MATLAB Coding and Simulation

  • Writer: Gediz GÜRSU
    Gediz GÜRSU
  • Jul 30, 2016
  • 2 min read

MATLAB is a mathematical engineering software. It has various engineering and scientific toolboxes. It has interfaces to various electronics and data acquisition hardware. It is possible to model various physical system using toolboxes and real time simulation environment Simulink. In my studies, I have used MATLAB for designing mathematical representation of physical systems. Using MATLAB, I have performed system identification, designed system dynamics transfer functions, performed optimizations, solve symbolic math equations and numerical partial differential equations, interfaced and programmed DSP's, performed data acquisition, image processing and I have used neural network and fuzzy logic toolboxes to design computational models. Various FFT and data acquisition algorithm examples can be found on my github repository. PROGRAMMING DPS and SIMPLE DATA ACQUISITION USING DAQ CARD

It is a simple signal generation and data acquisition demonstration. DSP is programmed using matlab to send signal. The signal is acquired using a DAQ card and analyzed in frequency domain. SYSTEM IDENTIFICATION and OPTIMIZATION

In this example prior to modal analysis transfer function of a beams vibrations identified using system identification toolbox. In engineering, Modal analysis allow us to understand the ratios of principle moving shapes an object can take in different physical forcing frequencies. Transfer function is a function that is the ratio of output frequency distribution to input frequency distribution and provides a single function for an objects dynamical characteristics. So that when I provide Input as n number of sinus functions in n number of different frequencies, transfer function gives me the sine waves amplitudes of output directly via input output ratios. To obtain symbolic (non-numerical) transfer function of a real world object system identification toolbox is used. After obtaining transfer function a controller is designed to minimize undesired vibration. Optimization is used to increase efficiency and robustness of this controller design and transfer function. SIMULINK AND INTERACTIVE MODELLING

While controlling the tip of the elastic beam, required position, user joystick input and acceleration data are collected in real time. After this operation, a transfer function is estimated per user to be used in future transfer function propagation via genetic selective algorithm. ADVANCED NONLINEAR SYSTEM MODELLING and SIMULATION and AUTOMATIC REPORT GENERATION

In this example a MDOF (Multi Degree of Freedom) nonlinear system is numerically solved and modal energies are calculated. An interface is designed to simulate broad range of parameters and report both code, calculation data and results including graphics.

MATLAB is a very advanced efficient differential equation (ODE and PDE) solver, thus it is a great engieneering software. In this example various codes are demonstrated using MATLAB m file editor.

Comments


SEARCH BY TAGS
RSS Feed
Best Viewed in Chrome Browser
Gediz GÜRSU
bottom of page