مشاهدة النسخة كاملة : تطبيقات حاسب
spicky
07-12-2010, 03:05 AM
:bsm:
:salam:
هنا كل ما يختص بمادة تطبيقات الحاسب
اى استفسار اى طلب
اى حاجة فى اى وقت انا موجود وربنا يقدرنى على فعل الخير
:radsalam:
:jaz:
:127: :127: :127:
spicky
07-12-2010, 03:15 AM
دة لينك لتحميل جميع محاضرات السنه اللى فاتت
علشان اللى محتاجها
ادخل هنا (http://www.mediafire.com/?e66xs5ivzftou4c)
spicky
07-12-2010, 03:21 AM
Sheet (3)
If A=
2 -1 3 -2 4
5 7 2 -3 -1
-1 -2 4 6 2
-3 4 5 2 1
3 7 8 -5 6
, B =
3
-2
1
4
5
a) Append A and B together in variable D.
b) Referencing the dimension of matrix A in variable a and b, referencing the largest of matrix A in variable c and the smallest in variable d.
c) Referencing the magnitude of vector B in variable e.
d) Referencing
-2 4 6
4 5 2
7 8 -5
from matrix A in variable f.
e) Add six (6) row in matrix A in variable g where:
g =
2 -1 3 -2 4
5 7 2 -3 -1
-1 -2 4 6 2
-3 4 5 2 1
3 7 8 -5 6
0 0 0 7 0
f) How to convert the matrix A to matrix h, where:
h =
2 -1 0 -2 4
5 7 0 -3 -1
-1 -2 0 6 2
-3 4 0 2 1
3 7 0 -5 6
g) How to covert the matrix A to Identify Matrix in variable I.
h) How to multiple the diagonal of matrix A in transpose of vector B.
i) Create M file contain program used to read the matrix D and convert any negative number to positive.
spicky
07-12-2010, 03:24 AM
A=[2 -1 3 -2 4; 5 7 2 -3 -1 ; -1 -2 4 6 2 ;-3 4 5 2 1 ; 3 7 8 -5 6];
B=[3;-2;1;4;5];
D=[A,B]
[a b]=size(A)
c=max(max(A))
d=min(min(A))
e=norm(B)
f=A(3:5,2:4)
g=A;
g(6,4)=7
h=A;
h(:,3)=0
i=inv(A)*A
j=diag(A)'*B
for i=1:5
for j=1:5
if A(i,j)<0
A(i,j)=A(i,j)*-1;
end
end
end
A
eng_asker
22-01-2011, 05:26 PM
ياريت ياحوده ترفع العملى
Copyright ©2000-2012