1+1
1+1;
a=5
a=a+1;
a
3+4
ans/2
ans+3
sqrt(ans-4.5)
format long
sqrt(ans-4.5)
sqrt(2)
format
sqrt(2)
diary befehle
sqrt(2)
1+17
diary off
A=[ 1 2 3; 4 5 6; 7 8 9 ]
det(A)
A(2)
A(2,:)
A(2,:)-A(1,:)
A(3,:)-A(1,:)
A(3,:)-A(2,:)
A(3,:)+A(1,:)
A(3,:)+A(1,:)-2*A(2,:)
A
A(2,2)
A(:,2)
A(2:3,2)
A(2:3,2:4)
A([3,1],:)
A(2:3,2:3)
A
B=A
B(2,:)=B(2,:)-4*B(1,:)
B=A
B(2,:) -= 4*B(1,:)
x=[ 1 1 1 ]
A*x
x=[ 1 1 1 ]'
A*x
A
b = A*x
xneu=A\b
for i=1:5, i^2, end
for i=1:5, i^2; end
for i=1:5, s(i)=i^2; end
s
[1:5]
[1:5].*[1:5]
[1:5]*[1:5]
[1:5]*[1:5]'
[1:5]
[1:5]'
[1:5]'*[1:5]
[1:10]'*[1:10]
[1:20]'*[1:20]
kleinesmfile
sqrt(3)
sqrt
B
B(3,3)=10
det(B)
bneu=B*x
gleichungssystemloesen(B,bneu)
[diedeterminante,dieloesung]=gleichungssystemloesen(B,bneu)
diedeterminante
dieloesung
size(A)
help size
magic(5)
magic(5)*[1 1 1 1 1]'
ones(1,5)
ones(1,5)*magic(5)
zeros(2,5)
eye(3)
eye(3,5)
