السلام عليكم ورحمة الله وبركاته
اخوتي الكرام عندي واجب ببرنامج الماتلاب حاولت فيه وعجزت ,هل بإمكانكم مساعدتي ؟؟؟؟ ولو على الأقل سؤال واحد حتى افهم الطريقه …
لأن الدكتور للاسف ما يشرح كويس , و ما نفهم عليه ,
و التسليم يوم الاثنين بكره …
ولكم خالص شكري و دعائي …
Exercise 1:
For a=[1 2 3 4 6 4 3 4 5], t=0:8, do the following:
For a=[1 2 3 4 6 4 3 4 5], t=0:8, do the following:
b=a+2;
plot a(t), b(t), give labels to x and y axis.
[A=[1 2 0;2 5 -1;4 10 -1
B=AT;
C=B*A,
D=A.*B and see the difference with C.
F=A-1.
I=F*A,
log(0)
Exercise 2
For t=0 to 200;
For t=0 to 200;
•
f(t)=3 e-0.1t cos(0.2)
f(t)=3 e-0.1t cos(0.2)
g(t)=3e0.1t cos(0.2t)
h(t)=f(t)*g(t)
plot f(t), g(t), and h(t)
Exercise 3:
For t=0:0.1:10
Exercise 3:
For t=0:0.1:10
y
1=sin(t),
1=sin(t),
y
2SIZE=3= sin(3t)/3[/size]
2SIZE=3= sin(3t)/3[/size]
y
3SIZE=3=sin(5t)/5,[/size]
3SIZE=3=sin(5t)/5,[/size]
y=y
1+y2+y3,
1+y2+y3,
Plot y
1, y2, y3 and y with respect to time t.
1, y2, y3 and y with respect to time t.
Exercise 4:
For t=0:200; x1=(0.99)t and x2=(1.01)t.
For t=0:200; x1=(0.99)t and x2=(1.01)t.
Draw
x1SIZE=3 and [/size]x2SIZE=3 using commands: plot, stem, stairs, bar, title, xlabel, ylabel and grid.[/size]
x1SIZE=3 and [/size]x2SIZE=3 using commands: plot, stem, stairs, bar, title, xlabel, ylabel and grid.[/size]
Comment on your results of x
1 and x2.
1 and x2.
Exercise 5: Construct a MATLAB function that
calculate the medium of a vector x.