Professional Documents
Culture Documents
Do An Mon Hoc PPT
Do An Mon Hoc PPT
Hồ Chí Minh
Khoa Điện tử - Viễn thông
ĐỒ ÁN MÔN HỌC
THỰC HÀNH PHƯƠNG PHÁP TÍNH & MATLAB
Họ và tên MSSV Lớp
daohamTaylor.m
1
function giatri = daohamTaylor(x,y,a)
% Tinh gan dung dao ham theo Taylor
h = x(2)-x(1);
for i = 1:length(x)
if x(i) == a
giatri = (y(i+1)-y(i))/h;
end
end
end
2
3