titanium.m

来自「演示matlab曲线拟和与插直的基本方法」· M 代码 · 共 21 行

M
21
字号
function [x,y] = titanium
%TITANIUM Test data.
%
%   [X,Y] = TITANIUM
%
%   returns the data points of the Titanium Heat data which give a
%   certain property of titanium as a function of temperature and
%   which have been used extensively as test data for fitting by
%   splines with variable knots.

%   Carl de Boor 1987
%   Copyright 1987-2003 C. de Boor and The MathWorks, Inc. 
%   $Revision: 1.14 $

x=585+[1:49]*10;
y=[.644  .622  .638  .649  .652  .639  .646  .657  .652  .655  ...
   .644  .663  .663  .668  .676  .676  .686  .679  .678  .683  ...
   .694  .699  .710  .730  .763  .812  .907 1.044 1.336 1.881];
y=[ y ...
  2.169 2.075 1.598 1.211  .916  .746  .672  .627  .615  .607  ...
   .606  .609  .603  .601  .603  .601  .611  .601  .608];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?