24小时热门版块排行榜    

查看: 2335  |  回复: 5

juyaoming

木虫 (小有名气)

科研闲散人员

[求助] matlab可否求离散三维函数(即一组(x,y,z)数据)的偏导数(如:Dz/Dy)?

如题,本人有一组(x,y,z)数据,可以视为离散三维函数(z=f(x,y)),现要求对指函数类型的偏导数Dz/Dy的拟合式,matlab可否实现,该如何操作?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★
juyaoming(金币+1): 2011-09-29 14:49:35
xiegangmai(金币+2): 谢谢应助! 2011-09-29 22:23:25
使用 gradient 可以得到偏导数Dz/Dy的数值,然后就可以用指函数类型拟合了
>> help gradient
GRADIENT Approximate gradient.
    [FX,FY] = GRADIENT(F) returns the numerical gradient of the
    matrix F. FX corresponds to dF/dx, the differences in x (horizontal)
    direction. FY corresponds to dF/dy, the differences in y (vertical)
    direction. The spacing between points in each direction is assumed to
    be one. When F is a vector, DF = GRADIENT(F)is the 1-D gradient.
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2011-09-29 14:35:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

juyaoming

木虫 (小有名气)

科研闲散人员

引用回帖:
2楼: Originally posted by dbb627 at 2011-09-29 14:35:40:
使用 gradient 可以得到偏导数Dz/Dy的数值,然后就可以用指函数类型拟合了
>> help gradient
GRADIENT Approximate gradient.
    [FX,FY] = GRADIENT(F) returns the numerical gradient of the
     ...

谢谢!不好意思敲漏了几个字,是“指定函数”如拟合出:一级化学反应动力学方程dc/dt=-k×c,k=A×T^B×exp(-Ea/RT)中A,B,Ea值,不知能否实现?
3楼2011-09-29 14:54:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖


juyaoming(金币+1): 看样子,这位老兄做过类似的工作,遇到同道人,真是一大幸事 2011-09-29 15:57:26
xiegangmai(金币+1): 谢谢应助! 2011-09-29 22:23:38
可以实现 需要dc/dt  c  T的数据
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
4楼2011-09-29 15:50:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

juyaoming

木虫 (小有名气)

科研闲散人员

引用回帖:
4楼: Originally posted by dbb627 at 2011-09-29 15:50:24:
可以实现 需要dc/dt  c  T的数据

现在有:c、T、t的数据。
处理dc/dt真是头大,拟合也是头大,唉
5楼2011-09-29 15:54:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

刀疤男二号

银虫 (初入文坛)

引用回帖:
3楼: Originally posted by juyaoming at 2011-09-29 14:54:24
谢谢!不好意思敲漏了几个字,是“指定函数”如拟合出:一级化学反应动力学方程dc/dt=-k×c,k=A×T^B×exp(-Ea/RT)中A,B,Ea值,不知能否实现?...

您好,我就是用的这个实现的,为什么得到的结果不正确呢?能不能请教?
谨言慎行
6楼2014-09-19 10:36:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 juyaoming 的主题更新
信息提示
请填处理意见