📄 main.m
字号:
%% it is main function to realize lagrange interpolation%%
%% the vector X is a collection of interpolation points %%
%% the vector F is a collection of interpolated function values%%
%% Obviously,the vector X should be the same size as F %%
%% **************the author:程剑光**********************%%
%% ************chengjianguang@163.com*******************%%
%% this programme copyrighted by the physics and %%
%% tele-communication school in scnu, 2006.4.17 %%
%% if you have some ways to improve this arithmetic, %%
%% please make contact with me, thank you very much! %%
%% FF the the result of this programme %%
clear;
clc;
X=[4,6.25,9,16]
F=[2,2.5,3,4]
XX=7
FF=lagrange(X,F,XX)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -