0% found this document useful (0 votes)
10 views

Lecture 1

The document summarizes trigonometric functions and their representations in MATLAB. It lists the name of common trigonometric functions like sine, cosine, tangent, and their inverses. It also lists exponential functions like the natural logarithm and their representations. It provides some basic plotting commands in MATLAB like plot, title, xlabel, ylabel. It defines vectors as single-dimension matrices that can be created in MATLAB using brackets with element values separated by spaces or commas.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Lecture 1

The document summarizes trigonometric functions and their representations in MATLAB. It lists the name of common trigonometric functions like sine, cosine, tangent, and their inverses. It also lists exponential functions like the natural logarithm and their representations. It provides some basic plotting commands in MATLAB like plot, title, xlabel, ylabel. It defines vectors as single-dimension matrices that can be created in MATLAB using brackets with element values separated by spaces or commas.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Trigonometric Functions (‫)الدوال المثلثية‬

‫التمثيل الرياضي للدالة‬


‫اسم الدالة المثلثية‬ ‫تمثيل الدالة داخل الماتالب‬
‫المثلثية‬

Sine function sin (z)


sin (z)

Arcsine function asin (z)


sin -1 (z)

Cosine function cos (z)


cos (z)

Arccosine function acos (z)


-1
cos (z)

Tangent function tan(z)


tan(z)

Arctangent function atan (z)


-1
tan (z)

Secant function sec (z)


sec (z)

Arccosecant function asec (z)


sec -1(z)

Cosecant function csc (z)


csc (z)

Arccosecant function acsc (z)


csc -1 (z)

Cotangent function cot (z)


cot (z)
Hyperbolic
acot (z)
arccotangent function cot -1 (z)

Exponential Functions

‫التمثيل الرياضي‬ ‫تمثيل الدالة داخل‬


‫اسم الدالة‬
‫للدالة‬ ‫الماتالب‬
z
Base e exponential function e exp (z)

Natural logarithm function


ln(z) log(z)
(base e)

Base 10 logarithm function ln10 log10(z)

Square root function sqrt(z)


z
Power function for base 2 2 Pow2(z)

: ‫العمليات الحسابية‬
plotting commands ‫ايعازات الرسم‬
plot(y) Creates a line plot of the vector Y against its indices.
plot
Plot(x,y) Plots the set of points (X, Y), where X and Y are row
vectors.
title title (‘text’) Adds a title to the top of the current axes.

xlabel xlabel (‘text’) Adds an x-axis label.

ylabel ylabel (‘text’) Adds a y-axis label.

legend legend (‘string1’, Displays a legend in the current axes using the specified
‘string2’,…) strings to label each set of
data.

text text( x , y , 'string ') Use text to place character strings at specified locations.

fplot fplot ('f',[xmin , Graphs the explicit function y = f (x) in the specified range
xmax]) of variation for x.

Vectors ‫المتجهات‬

‫هي عبارة عن مصفوفة بسيطة ذات بعد واحد سواء اكانت صف واحد او عمود واحد كل ما عليك‬
‫ عليك أن تبدأ بقوس يساري( [ ) ثم تدخل القيم المطلوبة مفصولة‬MATLAB ‫إلنشاء مصفوفة في لغة‬
-: ‫بفراغ أو) فارزة ( ثم أغالق المصفوفة بقوس يميني( ] ) الحظ االمثلة التالية‬

Variable = [v1 v2 v3... vn] : ‫الصيغة العامة‬

Ex:-
>>A = [3 5 7 4 9 -1.1 -1.5]

Variable = [v1, v2, v3,..., vn] : ‫الصيغة العامة‬

Ex:-
>>A = [3,5,7,4,9, -1.1,-1.5]

You might also like