求教 matlab求导问题。
이전 댓글 표시
我想求(x+y)^2对x的导数
syms x
diff((x+y)^2)
得出的结果
ans =
2*x + 2*y
为什么把y的也求导了呢。。只想把y看做普通常数变量啊
大神怎么解决这个问题呢
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 启动和关闭에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!