freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于matlab的科學(xué)計算實驗-全文預(yù)覽

2025-07-09 16:07 上一頁面

下一頁面
  

【正文】 0 0 0 2 0A(:,:,3) = 3 0 0 0 0 3 0 0 0 0 3 0A(:,:,4) = 4 0 0 0 0 4 0 0 0 0 4 0(4)使用創(chuàng)建函數(shù)(cat、repmat、reshape)創(chuàng)建高維數(shù)組。4 5 6。)實驗記錄一、(1) test=[1 2 3 4]test = 1 2 3 4 test=[1。 y=quadl(fun,0,1)十、 符號計算實驗:(1)將化簡:先用syms定義符號變量,再用simplify函數(shù)進(jìn)行化簡,具體命令如下: simplify(cos(x)+sqrt(sin(x)^2))(2)求的解:用solve函數(shù)求解,命令如下: x=solve(39。x.*x39。x(1)^23*x(1)*x(2)+2*x(2)^239。x(1)^23*x(1)*x(2)+2*x(2)^239。 x=fzero(a,0) x=fsolve(39。)。7,8,9]。 [U,S,V]=svd(a)九、 數(shù)值計算實驗:(1) 導(dǎo)數(shù)(diff): a=39。7,8,9]。4,5,6。4,5,6。 b=[0,0,1。1,0,1]。1,0,1。b(13)邏輯或 a=[1,0,1。 b=[0,0,1。0,0,1]。1,1,1。 b=[3,6,9。2,4,6]。4,5,6。6]。4,5,6。 b=[3,6,9。7,8,9]。1,2,3。 a*b(4)數(shù)組乘 a=[1,2,3。7,8,9]。1,2,3。 a+b(2)矩陣減: a=[1,2,3。7,8,9]。a39。 str(2,1).ID = 3。x39。 str(2,1).ID = 3。x39。439。id39。x39。 = [1 2 3 4 5]。I am a student39。39。student39。I am a student 39。y=abs(x) z=deblank(x)。,39。,39。5,6,7,8。3,4],[1,2,3]) reshape(1:20,2,5,2)三、標(biāo)準(zhǔn)數(shù)組創(chuàng)建實驗:(1)全0矩陣: zeros(3)(2)全1矩陣: ones(5)(3)單位矩陣: eye(4)(4)magic矩陣: magic(4)(5)隨機(jī)矩陣: randn(4)四、矩陣變換實驗:令Data=[1,2,3,4。A(:,:,2)=eye(3,4)*2。3。2。7 8 9](2)使用下標(biāo): clear,A(2,3,2)=1(3)使用低維數(shù)組:clear,A=eye(3,4)。4,5,6],eye(2,3)*2,ones(2,3)) repmat([1,2。、fliplr、flipud、rot90、tril、triu函數(shù)計算Data的對角、轉(zhuǎn)置、翻轉(zhuǎn)、旋轉(zhuǎn)、三角矩陣,具體命令如下: Data=[1,2,3,4。I39。a39。a n 39。 str2=39。 str2=39。 str=strrep(str1,str2,str3)(5)規(guī)范格式strread; strread(39。)(6) 函數(shù)strtok找出由特定字符指定的字符串內(nèi)的標(biāo)記; ar=39。)六、 架構(gòu)數(shù)組的創(chuàng)建與操作實驗:(1) 直接創(chuàng)建法: clear x。,{39。},39。,39。,{3,4})(3) Fieldnames函數(shù): fieldnames(s)(4) Getfield函數(shù): str(1,1).name = 39。y39。)(5) Setfield函數(shù): str(1,1).name = 39。y39。,39。4,5,6。2,4,6]。 b=[3,6,9。4,5,6。2,4,6]。 b=[3,6,9。4,5,6。7,8,9]。 a.^b(7)矩陣左除 a=[1,2,3。4。 a/b(9)數(shù)組左除 a=[1,2,3。1,2,3。7,8,9]。 a./b(11)克羅內(nèi)克張量積 a=[1,0,1。1,0,1。1,0,1]。aamp。 b=[0,0,1。1,1,1。1,0,1]。xor(a,b)八、 矩陣分析實驗:(1)范數(shù)(norm): a=[1,2,3。chol(a)(8)LU分解(lu) a=[1,2,3。4,5,6。7,8,9]。4,5,6。x39。)函數(shù),來顯示多項式的形式,px =x^3 +3 x^2 +2 x +5(4) 零點(diǎn)(fzero、fsolve): a=(x)x^2+3*x+2。 fminbnd(f,0,1)2; fun=inline(39。 fminsearch(fun,x0)3; fun=inline(39。 fminunc(fun,x0)(6) 積分(quadl)用內(nèi)聯(lián)函數(shù)定義被積函數(shù): fun=inline(39。)。x39。4]test = 1 2 3 4(2) test=1::10test = Columns 1 through 4 Columns 5 through 8 Columns 9 through 12 Columns 13 through 16 Columns 17 through 19 (3) test = linspace(1,12,5)test = Columns 1 through 4 Column 5 (4) logspace(2,6,4)ans = +006 * 二、(1) 直接輸入法 A=[1 2 3。A(:,:,3)=eye(3,4)*3。3,4],[1,2,3])ans(:,:,1) = 1 2 1 2 3 4 3 4ans(:,:,2) = 1 2 1 2 3 4 3 4ans(:,:,3) = 1
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1