COC MATLAB Syllabus
COC MATLAB Syllabus
1.1 Introduction
1.2 Character set
1.3 Data Types
1.4 Constants and Variables
1.5 Operators
1.6 Hierarchy of Operations
1.7 Built-in Functions
1.8 Assignment Statement
1.9 Illustrative Programs
1.10 Summary
2.1 Introduction
2.2 Entering A Polynomial
2.3 Polynomial Evaluation
2.4 Rots of A Polynomial
2.5 Polynomial Addition And Subtraction
2.6 Polynomial Multiplication
2.7 Polynomial Division
2.8 Formulation of Polynomial Equation
2.9 Polynomial Differentiation
2.10 Polynomial Integration
2.11 Polynomial Curve Fitting.
2.12 Evaluation of Polynomials With Matrix Arguments
2.13 Summary
3.1 Introduction
3.2 Ordinary Differential Equation Solvers
3.3 Symbolic Mathematics
3.4 Summary
Text book: MATLAB and Its Applications In Engineering By R.K. Bansal, A.K. Goel,
Pearson Publication.
t3 t5
6) To plot multiple graphs y1 = sint, y2 = t, y3 = 1 in same figure window.
3! 5!
7) To plot f(t)= t sint, 0 t 10
xy ( x 2 y 2
8) To plot the surface z = , 3 x 3,. 3 y 3 by computing the values of z over
x2 y 2
50 x 50 grid on specified domain.
9) To plot the graph of r 2 2sin 5t , 0 t 2 taking 200 points.
10) To Find the graphical solution of differential equation dx/dt = - 2x with initial condition x0 =
1 in the range 0< = t<=10 and draw the graph of the solution by using ode 23 solver.
11) To Find the derivative of i) a=sin(wt), w.r.t.t ii) a=xn , w.r.t.x
12) To Find out root of 10
1] When it expressed in data type. 2] when it expressed as symbolic type.
13) To show that the vectors V1 = (2,-1,0,3), V2=(1,2,5,-1), V3=(7,-1,5,8) are linearly
independent .
14) To find i) inner product of u and v. ii) cos between u and v. iii) ||u||, ||v||. iv) ||u-v||.
15) To find the resultant vector moment of the forces 2i+7j, 2i-5j+6k, -i+2j+k acting at the point
P(4,-3,-2) about the point Q(6,1,-3).
x2 y 2
16) To draw the MATLAB logo (z = cosx cosy e for | x | ≤ 5, | y | ≤ 5).
4
17) To draw the pie chart for the world population by continents for data.
19) To find the population of the country in the year 1925 using following data
Year 1891 1901 1911 1921 1931
Population: 46000 66000 81000 93000 101000
20) To find the number of students who obtained less than 45 marks using following data
Marks (less then) : 40 50 60 70 80
No. of Students : 31 73 124 159 190
21) Let us compute the following integral
3/2
x2
e dx
1/2
22) This integral is closely related to the error function, erf. In fact,
3/2
x2
e dx
erf ( x)
1/2 2
23) Let us compute the following integral
1 2
I 1 6 x 2 y dx dy
1 0
24) Let us take a simple example
1 1
x 2 e xy dx dy
0 y
MATLAB COC Practical Paper – II
1. To do simple arithmetic calculations
2. To calculate Exponential and logarithms
3. To calculate values of Trigonometric function
4. Creating and working with arrays of numbers
5. To use the trigonometric functions with array arguments
6. To find sum of Geometric series
7. To compute dot product of vectors
8. To compute cross product of vectors
9. To compute box and vector triple product
10. To Compute angle between two vectors
11. To calculate interest of your money
12. To define the function using variable as symbol
13. To find out left and right limit of a given function
14. To find limit of a function
15. To find derivative of a function
16. To find integration when limits are not given
17. To find integration when limits are given
18. To find values of Beta and Gamma functions
19. To find roots of equation
20. Simple 2-D plots
21. Plotting with function fplot, ezplot
Reference Book : 1. MATLAB Programming for Engineers By Stephen J. Chapman
2. MATLAB 7 By Rudra Pratap, Oxford University Press.
3. MATLAB and Its Applications In Engineering By R.K. Bansal, A.K. Goel,
4. MATLAB An Introduction With Applications By Amos Gilat,
Wiley Publication.
5. Introduction to Neural Networks Using MATLAB By S.N. Sivanandam,
S. Sumathi.
6. An Introduction to Numerical Methods A MATLAB Approach.