Presentation on theme: "MATLAB MATLAB is a high-level technical computing language and"— Presentation transcript:
1 MATLAB MATLAB is a high-level technical computing language and interactive environmentfor algorithm development,data visualization,data analysis andnumerical computation.
2 MATLAB High-level language for technical computing Development environment for managing code,files, and dataInteractive tools for iterative exploration,design, and problem solvingMathematical functions for linear algebra, statistics, Fourieranalysis, filtering, optimization, and numerical integration2-D and 3-D graphics functions for visualizing dataTools for building custom graphical user interfacesFunctions for integrating MATLAB based algorithmswith external applications and languages,such as C, C++, Fortran, Java, COM, and Microsoft Excel
3 TASKFind area of surface, which is bounded by the graph of a function f , axis y and line segment with initial point A and end point B.Represent result graphically.A = (0; 0) a B =(3; 0)
7 Calculation of values of a function Elementary functions of MATLABCalculation of values of a functionCalculation of value of polynomial functionfor.2.*2.*2.*2.*2.*2.*2+3.*2.*2.*2.*2+2.*2.*2-7Or2.^7+3.*2.^4+2.^3-7Or2*2*2*2*2*2*2+3*2*2*2*2+2*2*2-7Or2^7+3*2^4+2^3-7Orp=[1,0,0,3,0,2,0,-7];polyval(p,2)ans = 177
8 Notation of functions and operators Elementary functions of MATLABNotation of functions and operatorsCalculate:,,.a1=sqrt(7)a1 =a2=2^8a2 = 256Ora2=pow2(8)a2 = 256a3=7^(1/4)a3 =
9 Calculate values of following expressions: z=(2.^3+5.^4).^(1/3)z=8.5862a=3;b=3;c=4;x=2;y=5;z=(x.^b+y.^c).^(1/a)z=8.5862a=5;b=5;c=3;x=7;y=2;z=(x.^b+y.^c).^(1/a)z=7.0007a=7;b=5;c=4;x=2;y=3;z=(x.^b+y.^c).^(1/a)z=1.9647
10 Calculate values of following expressions: z=log10(24.589)z=1.3907z=1.5841z=log(4.875)z=0.7707z=log(3.457)./log(5)z=log(3.564)./log(1/3)z=