2.8K 次下载
更新时间
2005/2/11
无许可证
Xpf = dirdiff(X,f,p)
generates directional derivative of symbolic scalar function f at the point p in the direction of symbolic vector X(p). p must be a cell array {p1,p2,..pn} of doubles or symbolic variables.
examples
syms x1 x2 x3 y1 y2 y3
X = [ 2*x3 - x1^2 ; x1^3 - x3^2 ; x2^4 ] ;
f = x1^2 + x2^2 + x3^2 ;
dirdiff(X,f,{2,0,3}) returns Xpf = 3.5777
dirdiff(X,f,{y1,0,0}) returns Xpf = -2*y1^3/(y1^4+y1^6)^(1/2)
引用格式
Mukhtar Ullah (2024). DIRDIFF (https://www.mathworks.com/matlabcentral/fileexchange/5832-dirdiff), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R14
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Symbolic Math Toolbox >
- MATLAB > Mathematics > Numerical Integration and Differential Equations >
在 Help Center 和 MATLAB Answers 中查找有关 Symbolic Math Toolbox 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | changed case for good documentation |