Date post: | 08-Jan-2017 |
Category: |
Engineering |
Upload: | manish-joshi |
View: | 168 times |
Download: | 20 times |
MATLAB and it’s application in Electrical Engineering
Name : Manish JoshiID No. 45132Branch : Electrical Engineering
Brief Introduction
• First use by practitioners of Control Engineering.• MATLAB is a high-level technical computing language and interactive
environment for algorithm development, data visualization, data analysis, and numeric computation. Using the MATLAB we can solve computing problems faster than with traditional programming languages, such as C, C++, and Fortran.
• We can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis ,computational biology and parallel computing.
• You can perform operations from the command line, as a sophisticated calculator.
If you think “ Iam an electrical engineer. Why should I learn MATLAB?”.
Best Reason I can give you is “It can get you a job even without knowing nothing about Electrical Engineering”
Recently Apple made MATLAB as a necessity in their recruitment process.
Applications
As a Calculator Mathematical Functions Manipulating Matrices Wide Range of support for Micro-Controllers Machine Learning : Making softwares to learn from themselves Any task can be done at a faster rate than any other tool. ( remember
time is crucial) Data Analysis Calculus and Differential Equations Adding two arrays together needs only one command, instead of a for or
while loop.
Toolboxes
Contol System: Design and analyze feedback control systems Image processing Machine Learning and Artificial Intelligence Signal Processing : Analog and digital signal processing tools Simulink : Modelling and analyzing Circuits Plotting 2D and 3D curves/Planes. Embedded Coder Portability to C, C++, Python, Java and Visual Basic
And this list goes beyond our imagination…
Matlab as a Calculator Largest integer that can be represented is of range Easy to deal with Complex Numbers You can record time taken to do any operation using tic and toc
functions. Support for thousands of Inbuilt functions like factorial() and plot(). So
a user need not worry how it is done. You can find in seconds. It contains 200 digits. It will takes minutes to
write 200 digits in paper. Finding Laplace and inverse Laplace. Coefficients of Fourier Seires, Taylor (or) any other series.
Basic Uses
Plotting curves
Matrix operations
Some Mathematical Functions : : Rank() Sum() Conj(2+3i) Sqrt(2.65) Inv(M) Clc Clear Exist() Isprime() pwd
Making Functions A functions is a piece of Code specialized to a specific task. For example You
can also make your Own functions. An example function can be one that computes value of current given Voltage and Resistance.
Plot Features
Torque – Slip Characterstics and VI characterstics can be analysed easily. Plot functionalities like : grid can be used to find the value of Voltage for
I = 0.00000001 accurately. Mulitple graphs can be plotted and analysed together. Don’t understand anything?? ( A huge support and offline help manual
by Mathworks and online community can help you do anything. )
Solving equations
Having problem solving Matlab can solve this for you in about micro seconds.
Want to integrate a function like : Matlab can do it. Solving differential equations of order-100 is a cakewalk. Finding a solution to a system of n linear equations is a task of micro
seconds. Having something much difficult to do, matlab can do it for you.
Image Processing
Perform image analysis by extracting meaningful information from images, such as finding shapes, counting objects, identifying colors, or measuring object properties.
Increase the signal-to-noise ratio and accentuate image features by modifying the colors or intensities of an image.
Use functions and apps to acquire, visualize, analyze, and process images in many data types.
Prepare images for display or printing Compress images for communication across a network
You can do nearly everthing, you can think of with images. Don’t agree?
Morphing is a special effect in motion pictures and animations that changes (or morphs) one image or shape into another through a seamless transition. Most often it is used to depict one person turning into another through technological means or as part of a fantasy or surreal sequence.
Image/Pattern Recognition
Matlab can be used to recognize patterns in images and patterns in stars and draw conclusions accordingly.
It can make you tools like image recognizition by analyzing patterns and granting access if pattern matches.
Artificial Intelligence also uses patterns, images and audio/videos so that a software and tool / device can learn it’s own by observing patterns.
Automation Interested in Making a Machine that automatically detects if current
exceeds a certain limit. Interested in Making a Machine that detects humidity in surrounding air
(or) Soil and functions according to it. Matlab can be used as a language for Arduino( Uses C) and Raspberry Pi
(Uses Python). Two Most Widely used MicroController. It requires additional Hardware( sensors, Blue-tooth or Wireless
modules) along with functionalities provided with MATLAB.
Simulink Simulink is a graphical programming environment for modeling,
simulating and analyzing multidomain dynamic systems. ( We only consider electrical circuits here)
Make Circuit Diagram Using Drag and Drop Environment
Circuit Characterstics can be found using Simulink
Contol System
6 line of code can find plots of Amplitude with w(omega) in second
How long would it take to do it using pen and paper??
A small piece of code can find Plots in Contol system in Seconds.
Digital Singal Processing You can use Signal Processing Toolbox to analyze and compare signals in
time, frequency, and time-frequency domains, identify patterns and trends, extract features, and develop and validate custom algorithms to gain insight into your data.
Signal Information
Some other Applications It provides tools for building applications with custom graphical
interfaces. You can build your own Calculator, Use and Even Sell to some Company.
Object Oriented Programming Using MATLAB You can make Games in MATLAB. GUIs seem to be somehow limited
compared to other languages. But if someone has done, means It can be done.
Tetris Game Using Matlab
Industry Use Matlab does have a bunch of functionality and built in tools. For this reason, it is used in many
industries. Some examples include large aerospace and defense companies. These companies use Matlab and Simulink to prototype, test, and iterate control systems. Many major car manufacturers also use Matlab to develop control and fuel consumption systems.
Another industry that heavily uses Matlab is robotics. With the built in functionality and growing hardware support from Mathworks, making robots do advanced things using Matlab has become easier than ever.
Additionally, some financial companies use Matlab to model risk or optimize portfolio risk. Matlab even has a Financial toolbox to help make this sort of analysis even easier. More than just these examples, any company or researcher that has use for data analysis and presentation will benefit from using Matlab. For instance, Apple frequently references Matlab in their recruiting announcements.
Why not use?? The only reason that I think for not using MATLAB is High Pricing Rates
and Due to their Strict Copyright Rules, that can lead to imprisonment if found using fake copies of MATLAB.
Although many alternatives like OCTAVE are present, but nothing beats MATLAB.
Matlab does scientific computing very well, but many other languages can take on a variety of tasks including web development
Using Matlab can use a larger amount of RAM than a compiled program. For most applications, a typical computer will be fine. However, processing larger images, videos, or data sets may eat up a larger amount of memory.
Conclusion MATLAB is a high-level numerical computatioin
environment and it’s use for educational and industrial purposes can do tasks at a faster rate than any other tool or any other way of computation and it’s further capability of modelling and analysing Circuits adds it as a favourable tool for all engineers especially for an electrical engineer.