1、打開(kāi)matlab軟件,清理工作空間和命令行窗口; 2、定義兩個(gè)符號(hào)變量分別為,x y; syms x y 3、定義一個(gè)多元函數(shù),如下圖所示; f=x*exp(y); 4、分別對(duì)兩個(gè)變量求解偏導(dǎo); dfx=diff(f,x) dfy=diff(f,y) 5、查看兩個(gè)函數(shù)的圖像; subplot(2,2,1:2),ezsurf(f) subplot(223),ezsurf(dfx) subplot(...
www.dbjr.com.cn/softjc/5387...html 2025-6-7