format short
7/3.5
7/-3.
9-3/3
16/2/0.4e2
0.4*10^2
(1e3-1e2)*(15-50e-1)
3^4/2
3^(4/2)
(2-3)^(3.7-2)
3*2^2*2^3
(3*4)/(3-4)*7-5.3
(((2.3e1*3)/2)-4.5)^2
((7-3)^3)^(1/3)
(7-3)^3^(1/3)
(7-3)^(3^(1/3))
4*2/(6-4^2)
45.3-47.7-15
45.3-(47.7-15)
4^3^2
4^9
4^3^2
(4^3)^2
format long
script
help script
x=-1:0.1:1
sqrt(x)
xoc(x)
cos(x)
sin(x)
plot(x,sin(x.^3))
x.^2
x.^3
%-- 10.03.09 10:55 --%
help plot
x.^3
x = -1:0.1:1
x = -1:0.1:1;
x^3
x.^3
%-- 10.03.09 10:59 --%
rand
x=1:1:10
x=1:10
z=rand(4)
z=rand(10)
y=[z;x]
y=[z x]
c=rand(4)
e=[c eye(size(c));eye(size(c) ones(size(c))]
e=[c eye(size(c));eye(size(c)) ones(size(c))]
d=sqrt(c)
t1=d*d
t1=t.*d
t1=d.*d
t1=d*d
t2=d.*d
rand
a=-1:.2:1
b=2:17
b(2:2:17)=-2:-2:-16
c=[1:8 10 13:20]
d=1:23
d(3:3:23)=[]
b=2:2:16
b=[b; -b]
b(:)
b(:)'
rand
eps
1+eps
format long
1+eps
1+eps/2
eye(5)
v=eye(5)
v(5,5)=0.3
syms a
syms b
a*b
rand
rand(10)
A = ans
inv(A)
sum(A, 1)
sum(A, 2)
sum(A)
rand
d=1:19
d([5 10 15])=[]
d=reshape(d,4,4)
d'
b=1:19
s=2:2:19
b(s)=-b(s)
b([5 10 15])=[]
b=reshape(b,4,4)'
rand
A=zeros(100)
for i=1:100
A(i,i)=1/i.^2;
end
A
[1:100]
ans.^-1
ans.^2
diag(ans)
y=[]; for j=1:18
x=[];
for i=1:18
x=[x sqrt(j)^(i-1)];
end
y=[y; x];
end
y
y=zeros(18)
for i=1:18
for j=1:18
y(j,i)=sqrt(j)^(i-1);
end
end
y
help vander
x=1:3
x=1:3'
x=x'
x(:,ones(3,1))
x=1:3'
x(ones(1,3),:)
x=1:18
x=sqrt(1:18)'
a=ones(18)
for i=2:18, a(:,i)=a(:,i).*(x.^(i-1)),end

% Vandermonde Matrix
x=sqrt(1:18)'
A=x(:,ones(1,18))
y=0:17
y=y(ones(18,1),:)
A.^y


