matlab 求过渡时间,Matlab实现的数值过渡函数代码

该函数用于平滑地处理值的过渡,通过指定的区间[a, b]、起始值y1和结束值y2,生成平滑过渡坐标数组[x, y]。采用Legendre-Gauss积分方法来实现数值积分,展示了一个示例脚本进行演示。" 114347606,10535670,"Java Map集合详解:HashMap, HashTable, ConcurrentHashMap与TreeMap
摘要由CSDN通过智能技术生成

function [x,y,fdy] = transitionSmoothing2(a,b,y1,y2,nn)

%%%

% smoothly shifting the value transition

% defining the shifting value in the interval of [a,b]

% curve starting at [a,y1] and ending at [b,y2]

% and generating a smooth array [x,y] for further

interpolation

% author: TCH, BUAA-AST, Feb 06, 2012

%%%% INPUT:

% [a,b] :

%  transition

interval

% y1,y2 :

%  starting point y1 and

ending point y2

% nn :

%  determining the

sampling point between the interval of [a,b]

%%%% OUTPUT

% x,y :

%  out put transition

coordinates

% fdy :

%  function pointer

depicting the exact derivative function

%%%% example script:

% % clc

% % clear

% %

% % %

% % a = -1;

% % b = 1;

<
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值