matlab函数编程笔记

这篇博客主要介绍了MATLAB中的符号计算函数,包括COMPOSE的使用,展示了如何进行复合函数的实现。此外,还讲解了函数句柄的概念,解释了@运算符在定义匿名函数时的作用。
摘要由CSDN通过智能技术生成

复合函数实现:compose
COMPOSE(f,g) returns f(g(y)) where f = f(x) and g = g(y).
Here x is the symbolic variable of f as defined by SYMVAR and
y is the symbolic variable of g as defined by SYMVAR.

COMPOSE(f,g,z) returns f(g(z)) where f = f(x), g = g(y), and
x and y are the symbolic variables of f and g as defined by
SYMVAR.

COMPOSE(f,g,x,z) returns f(g(z)) and makes x the independent
variable for f. That is, if f = cos(x/t), then COMPOSE(f,g,x,z)
returns cos(g(z)/t) whereas COMPOSE(f,g,t,z) returns cos(x/g(z)).

COMPOSE(f,g,x,y,z) returns f(g(z)) and makes x the independent
variable for f and y the independent variable for g. For
f = cos(x/t) and g = sin(y/u), COMPOSE(f,g,x,y,z) returns
cos(sin(z/u)/t) whereas COMPOSE(f,g,x,u,z) returns cos(sin(y/z)/t).


                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值