ver
%-- 8/28/2015 9:26 AM --%
(1+sqrt(5))/2
phi=(1+sqrt(5))/2
3/5
5/3
clc
5/3
3\5
A=[2 5; 1 -4]
b=[3 7]
b=b'
A\b
format long
ans
A=sym(A)
b=sym(b)
A\b
clc
A
double(A)
A=double(A)
A*A
A^2
A.^2
A
A.^2
3*x=5
x=3
clc
x=3
x=sqrt(1+x)
clc
x=0:-1:1
x=[];
b
clear all
clc
hmw1
P
P1
plot(P)
hold on, plot(P1,'r')
err=(P-P1)./P1*100
plot(err)
clf
plot(err,'-o')