Experiment # 1
Title: Starting with MATLAB.
Equipment Required: Personal computer (PC) with windows operating system and MATLAB software

Theory:-
MATLAB is a powerful computing system for handling the calculations involved in scientific and engineering problems. The name MATLAB stands for MATrix LABoratory, because the system was designed to make matrix computations particularly easy. One of the many things about MATLAB (and which distinguishes it from many other computer programming systems, such as C++ and Java) is that you can use it interactively. This means you type some commands at the special MATLAB prompt, and get the answers immediately. The problems solved in this way can be very simple, like finding a square root, or they can be much more complicated, like finding the solution to a system of differential equations. For many technical problems you have to enter only one or two commands, and you get the answers at once.

Problems:-
Solve the following problems in the Command Window.

...DISCUSSION:
After using both languages, Microsoft Excel and MATLAB (MATrix LABoratory), on the same module experiments from 1 to 4, I observed the following:
* For Microsoft excel,
* It uses spreadsheet application where each elements or data values are distributed in cells.
* Most statistical computations are easy to solve due to the manner of data organization where data are inserted on cells arranged in numbered rows and letter-named...

...Using Matlab to Execute a Genetic Algorithm
Optimization of Two Variable Function
The function to be optimized is given by:
[pic]
The maximum value of this two variable function is desired, however Matlab’s gatool finds the minimum of fitness functions and so as in the previous example the function must be altered as follows:
[pic]
Now we must enter this function, as before, into a Matlab function file.
Start Matlab and...

...CONTENTS:
1)Experiment 1: INTRODUCTION WITH MATLAB SOFTWARE
2) Experiment 2: GENERATION OF BASIC CONTINUES SIGNALS / BASIC DISCRETE SIGNALS
3) Experiment 3: IMPULSE RESPONSE OF AN LTI SYSTEM
4) Experiment 4: CONVOLUTION OF TWO SEQUENCE AND PROPERTIES OF CONVOLUTION
5) Experiment 5: CORRELATION- AUTOCORRELATION
6) Experiment 6: read and display digital image using MATLAB
7)...

...components
– MATLAB – Revision, Numerical Integration, Root
Finding
• Dr Mike Clee
• Lectures – Weeks 2-4, Labs – Weeks 3-5
• 50% 1 assignment
– CAD – Solidworks
• Dr Chengyuan Wang
• Lectures Weeks 5-6, Labs – Weeks 6-12
• 50% – 1 assignments
Semester 1, 2014-2015
General Information
• MATLAB lab slots
– There will be demonstrators in each lab to help with MATLAB
worksheets
– Each student has the opportunity to complete the assignment during
the...

...MATLAB EXERCISES
UEMH3163 / UECS2053 ARTIFICIAL INTELLIGENCE
1. Run the MATLAB code:
a = 1:5;
d = a+i*a;
e = d'
f = d.'
g = mod(5,4)
2. Given A = [1 2 4; 1 1 1; 2 3 1] and B = [2 2 2; 2 2 2; 2 2 2]. Run the MATLAB code:
a=A>B
b=A>1
3. Given A = magic(4). Run MATLAB code :
DiagElement = diag(A)
DiagMatrix = diag(diag(A))
SuperDiagElement = diag(A,2)
4. Run the MATLAB code:
name =...

...MATLAB Parallel Computing
John Burkardt (ARC/ICAM) & Gene Cliﬀ (AOE/ICAM) Virginia Tech .......... FDI Fall Short Course: Introduction to Parallel MATLAB at Virginia Tech http://people.sc.fsu.edu/∼burkardt/presentations/fdi matlab 2009.pdf .......... ARC: Advanced Research Computing AOE: Department of Aerospace and Ocean Engineering ICAM: Interdisciplinary Center for Applied Mathematics
09 September 2009
Burkardt MATLAB Parallel...

...INGE3016 Algorithms and Computer Programming with MATLAB
First Semester 2010-2011
COMPUTER PROJECT#1
Due on Tuesday, Spetember 13th, 2011
As this is the first program, the solution is provided. Most of the code details will be covered in class, as we progress. Therefore, at this point don’t worry if you don’t understand completely all the statements. The objective of this project is just to be able to edit, compile and run a full MATLAB program while...