实验一:三次样条插值(P56,例6) 一、实验目的: 1) 掌握三次样条插值的运用 2) 了解拉格朗日插值在高次上的误差 二、实验环境:Matlab6.5 三、实验内容: 1) 给定函数f(x)=1/(1+x2),-5<=x<=5,节点xk=-5+k,(k=0,1,2…10),用三次样条插值求S10(x),S10’(-5)=f’(-5),S10’(5)=f’(5)。 2)作原函数f(x),拉格朗日插值函数Ln(x),三次样条差值函数Sn(x)。画出三个函数的图像,比较它们的区别。
上传时间: 2017-02-18
上传用户:天诚24
Input : A set S of planar points Output : A convex hull for S Step 1: If S contains no more than five points, use exhaustive searching to find the convex hull and return. Step 2: Find a median line perpendicular to the X-axis which divides S into SL and SR SL lies to the left of SR . Step 3: Recursively construct convex hulls for SL and SR. Denote these convex hulls by Hull(SL) and Hull(SR) respectively. Step 4: Apply the merging procedure to merge Hull(SL) and Hull(SR) together to form a convex hull. Time complexity: T(n) = 2T(n/2) + O(n) = O(n log n)
标签: contains Output convex planar
上传时间: 2017-02-19
上传用户:wyc199288
documentation for optimal filtering toolbox for mathematical software package Matlab. The methods in the toolbox include Kalman filter, extended Kalman filter and unscented Kalman filter for discrete time state space models. Also included in the toolbox are the Rauch-Tung-Striebel and Forward-Backward smoother counter-parts for each filter, which can be used to smooth the previous state estimates, after obtaining new measurements. The usage and function of each method are illustrated with five demonstrations problems. 1
标签: documentation mathematical for filtering
上传时间: 2014-01-20
上传用户:changeboy
documentation for optimal filtering toolbox for mathematical software package Matlab. The methods in the toolbox include Kalman filter, extended Kalman filter and unscented Kalman filter for discrete time state space models. Also included in the toolbox are the Rauch-Tung-Striebel and Forward-Backward smoother counter-parts for each filter, which can be used to smooth the previous state estimates, after obtaining new measurements. The usage and function of each method are illustrated with five demonstrations problems. 1
标签: documentation mathematical for filtering
上传时间: 2013-12-10
上传用户:zxc23456789
my AVL tree implementation. Have tested it for 8! deletions sequences with 8! insertion sequences. Fast for order statistics.
标签: sequences implementation deletions insertion
上传时间: 2017-03-02
上传用户:lixinxiang
matlab rgb to hsi conversion file. matlab rgb to hsi conversion file. matlab rgb to hsi conversion file.
标签: conversion matlab hsi rgb
上传时间: 2013-12-25
上传用户:wangchong
算法思路: 1.如果只有一个金片,则把该金片从源移动到目标棒,结束。 2.如果有n个金片,则把前n-1个金片移动到辅助的棒,然后把自己移动到目标棒,最后再把前n-1个移动到目标棒. 3.单纯对于有N个金片要挪动的步数求出, 可以使用递推方法,满足递推方程f(i) = f(i - 1) * 2 + 1
标签: 算法
上传时间: 2017-03-04
上传用户:leehom61
matlab环境下目标函数为求最大值,且解非负整数解 %bounds 边界约束 %Myfun 为目标函数 %num 初始种群数 %N 最大迭代次数 %CP 交叉概率 %P 突变概率 %f 目标最优解 %x 最优解向量
上传时间: 2017-03-06
上传用户:Ants
【问题描述】 设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 (1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; (2)编码:利用建好的哈夫曼树生成哈夫曼编码; (3)输出编码; (4)设字符集及频度如下表: 字符:A B C D E F 频度:4 9 23 2 17 15 字符:G H I J K 频度:1 2 3 3 4
上传时间: 2017-03-07
上传用户:qwe1234
通过socket编程,编写两个独立运行的C++程序,一个为服务器,一个是客户端。 本次作业能实现客户端对服务器的下载文件和上载文件的操作。 客户端:D盘的FTP文件夹存放要上传的文件,F盘的FTP文件夹存放下载的文件。 服务器端:D盘的FTP文件夹存放供用户下载的文件,F盘的FTP文件夹存放用户上载的文件。
上传时间: 2013-12-07
上传用户:SimonQQ