matlab离散曲线求导,高手留步:MATLAB五阶拟合函数,求导后离散化,输出结果是星号...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

程序如下:

T=1978:1:2012;

t1=1978:1:2012;

五阶拟合函数是f5=0.0049664*T^5-49.4903*T^4+197266.7483*T^3-393146782.4823*T^2+391762509341.9921*T-156152262895446.5;

dc1=diff(0.0049664*T^5-49.4903*T^4+197266.7483*T^3-393146782.4823*T^2+391762509341.9921*T-156152262895446.5) %求导

dc2=(388*t1.^4)/15625-(6965140519951689*t1.^3)/35184372088832+(20334101580882327*t1.^2)/34359738368-(6595908489410563*t1)/8388608+6418636953059199/16384

%离散化

运行结果是:

dc1 =

(388*T^4)/15625 - (6965140519951689*T^3)/35184372088832 + (20334101580882327*T^2)/34359738368 - (6595908489410563*T)/8388608 + 6418636953059199/16384

dc2 =

Columns 1 through 6

* * * * * *

Columns 7 through 12

* * * * * *

Columns 13 through 18

* * * * * *

Columns 19 through 24

* * * * * *

Columns 25 through 30

* * * * * *

Columns 31 through 35

* * * * *

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值