Re: [問題] 有關Mathematica 3D圖形 的最小值

看板Statistics作者 (養花種魚數月亮賞星星)時間16年前 (2009/07/12 09:20), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《rainnight (rainnight)》之銘言: : 請問有板上先進知道 Mathematica繪出的3D圖形 : 要如何找出最小值嗎? : 需要 數值的型式 : 另外請問 如果想將圖形匯出成 Excel檔案 或是 數值資料 檔案 : 該如何執行會比較妥當(是3D的圖形) : 因為老師蠻趕的 = = : 拜託有概念的先進能指點一下 : 感激不盡 假設f(x,y)=sin(xy), (* 繪圖並定義為myplot *) myplot = Plot3D[Sin[x*y], {x, 0, 2 Pi}, {y, 0, 2 Pi}] (* 將myplot所描繪的點取出,指定給myxpts *) myxpts = Cases[myplot, GraphicsComplex[xpts : _, _, _] :> xpts][[1]]; (* 將myxpts匯出存成csv檔 *) Export["~/myxpts.csv",myxpts] -- 養花種魚數月亮賞星星 http://chungyuandye.blogspot.com -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.173.132.234
文章代碼(AID): #1AMJfV-5 (Statistics)
文章代碼(AID): #1AMJfV-5 (Statistics)