- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
matlab中的插值命令解析(Interpolation command parsing in MATLAB)
matlab中的插值命令解析(Interpolation command parsing in MATLAB)
Command 1 interp1
Function one-dimensional data interpolation (table lookup). This command calculates the interpolation between the data points. It finds the value of the unary function f (x) at the middle point. The function f (x) is determined by the given data.
X: raw data points
Y: raw data points
XI: interpolation points
Yi: interpolation points
format
(1) Yi = interp1 (x, Y, Xi)
Returns the interpolation vector Yi, each element corresponding to the parameter Xi, and is determined by the vector x and the interpolation of the Y. The parameter x specifies the point of the data Y.
If Y is a matrix, it is calculated on each column of the Y. Yi is the output matrix whose order is length (XI) *size (Y, 2).
(2) Yi = interp1 (Y, Xi)
Assume x=1:N, where N is the length of vector Y, or the number of rows of matrix Y.
(3) Yi = interp1 (x, Y, Xi, method)
Computes the interpolation with the specified algorithm:
nearest: nearest neighbor interpolation, direct calculation;
linear: linear interpolation (default), which completes the calculation directly;
spline: interpolation of three spline functions. For this method, the command interp1 calls the functions spline, ppval, mkpp, and umkpp. These commands generate a series of functions for piecewise polynomial operations. The command spline uses them to perform the three spline interpolation;
PCHIP: piecewise three Hermite interpolation. For this method, the command interp1 calls the function PCHIP, which is used to perform piecewise three interpolation of the vectors X and y. The method preserves monotonicity and data shape;
cubic: the same as PCHIP operation;
v5cubic: three interpolation in MATLAB 5.
For components that exceed the X range, the interpolation algorithm using the nearest, linear, and v5cubic will return the NaN accordingly, xi. For other methods, interp1 performs an external interpolation algorithm over the excess components.
(4) Yi = interp1 (x, Y, Xi, met
您可能关注的文档
- avr单片机在电机转速测量中两种方法(AVR microcontroller in measurement of motor speed in two ways).doc
- av指令索引(The AV instruction index).doc
- awos 题目20070323(问答题)(AWOS 题目20070323 (问答题)).doc
- autocad应用技巧44例(autocad应用技巧44例).doc
- axing算法(取消算法).doc
- b70失守 一汽奔腾押宝b90上市(FAW Pentium B90 listed on the fall of B70).doc
- barrett食管临床表现和诊断(The clinical manifestations and diagnosis of Barrett's esophagus).doc
- bdo-eg项目机修题库(The bdo-eg project database).doc
- b2b电子商务(B2B Electronic Commerce).doc
- belliss 高压空压机操作保养制度(Belliss high pressure air compressor operation maintenance system).doc
- matlab牛顿拉夫逊法算潮流分析(Matlab Newton Raphson method to calculate the power flow analysis).doc
- mba缘何风光不再 人资经理如是说(Why is MBA no longer human resources manager says).doc
- maya中个别材质的属性设置(The material attributes of individual setting in Maya).doc
- mbo式收购重塑企业家主权(MBO type acquisition remodeling entrepreneur sovereignty).doc
- mc34063芯片原理与应用技巧(Mc34063 chip principle and application skills).doc
- mecs-湿法制酸工艺技术(The technology of mecs- wet sulphuric acid).doc
- midas各种边界条件比较(Comparison of various boundary conditions Midas).doc
- midas软件常见提问与解答(Common questions and answers on MIDAS software).doc
- mingyan(明艳).doc
- monster.db详解(monster.db详解).doc
文档评论(0)