【文章內(nèi)容簡介】
內(nèi)容)(實驗工作原理或?qū)嶒灥闹饕僮鬟^程)(核心代碼及調(diào)試過程) 上機實驗:,程序調(diào)試過程中出現(xiàn)的問題及解決方法 程序運行的結(jié)果注解:理工科實驗需記錄實驗過程中的數(shù)據(jù)、圖表、計算、現(xiàn)象觀察等,實驗過程中出現(xiàn)的問題;其它如在計算機上進行的編程、仿真性或模擬性實驗需記錄程序核心代碼以及程序在調(diào)式過程中出現(xiàn)的問題及解決方法;記錄程序執(zhí)行的結(jié)果。實驗總結(jié)注解:實驗總結(jié)的內(nèi)容根據(jù)不同學(xué)科和類型實驗要求不一樣,一般理工科類的實驗需要對實驗結(jié)果進行分析,并且對實驗過程中問題進行討論;在計算機上進行的編程、仿真性或模擬性實驗需要對上機實踐結(jié)果進行分析,上機的心得體會及改進意見。其它實驗應(yīng)總結(jié)實驗過程寫出心得體會及改進意見。說明:各門實驗課程實驗報告的格式及內(nèi)容要求,請按照實驗指導(dǎo)書的要求手工書寫 實驗?zāi)康氖煜?plot二維圖命令及基本繪圖控制。熟悉能進行簡單圖形標(biāo)注和簡單顏色設(shè)定。能保存和輸出圖形。進行簡單的數(shù)據(jù)插值和曲線擬合。 實驗設(shè)備、儀器及材料1. PC機 1臺2. 實驗內(nèi)容1. Basic plot function(1) plot the cosine curve y=cos(t),t∈[0,2π] t=[0::2*pi]。y=cos(t)。plot(t,y)(2) plot the cosine curve y=cos() and sine curve y=sin() in the same chart, t∈[0,2π] t=[0::2*pi]。 y1=cos()。y2=sin()。plot(t,y1,39。+m39。,t,y2,39。*b39。) 2. Basic control of the figure Plot the curve x1=10sin(t) in the region of t∈[0,4π], and requirements as follows:(1) Line is the dot dash line, the color is red, the mark of the data point is Plus +. t=[0::4*pi]。x1=10*sin(t)。plot(t,x1,39。+39。)(2) Control the axis: show its region and coordinate line. t=[0::4*pi]。x1=10*sin(t)。plot(t,x1,39。+39。) axis on(3) Control the label: name the axis x and y, title and corresponding text.3. The data interpolation: write out the meaning of the follow instructions: x=0:10 y=sin(x) x0=[ ] y0=interp1(x,y,x0) x1=0::10 y1=sin(x1) plot(x1,y1,39。r:39。,x,y,39。b*39。,x0,y0,39。g.39。) 答: x=0:10。y=sin(x)。x0=[ ]。 y0=interp1(x,y,x0) 。 x1=0::10。y1=sin(x1)。plot(x1,y1,39。r:39。,x,y,39。b*39。,x0,y0,39。g.39。)實驗總結(jié)1. What is the requirement of the plot instruction?2. Please write out some ways to control the figures.3. How to use the subplot instruction to show several charts in one figure? Matlab圖形操作(三維)西華大學(xué)實驗報告開課學(xué)院及實驗室:交通與汽車工程學(xué)院 實驗時間: 年 月 日學(xué) 生 姓 名學(xué) 號實 驗 成 績課 程 名 稱熱能與動力工程(汽車發(fā)動機)專業(yè)軟件應(yīng)用課 程 代 碼6011599實驗項目名稱Matlab圖形操作(三維)項 目 代 碼指 導(dǎo) 教 師潘鎖柱項 目 學(xué) 分現(xiàn)場考評成績(40分 )實驗報告成績(60分) 實驗?zāi)康膶嶒炘O(shè)備、儀器及材料實驗內(nèi)容 一般實驗(非上機實驗):(設(shè)計性、創(chuàng)新性實驗需寫該項內(nèi)容)(實驗工作原理或?qū)嶒灥闹饕僮鬟^程)(核心代碼及調(diào)試過程) 上機實驗:,程序調(diào)試過程中出現(xiàn)的問題及解決方法 程序運行的結(jié)果注解:理工科實驗需記錄實驗過程中的數(shù)據(jù)、圖表、計算、現(xiàn)象觀察等,實驗過程中出現(xiàn)的問題;其它如在計算機上進行的編程、仿真性或模擬性實驗需記錄程序核心代碼以及程序在調(diào)式過程中出現(xiàn)的問題及解決方法;記錄程序執(zhí)行的結(jié)果。實驗總結(jié)注解:實驗總結(jié)的內(nèi)容根據(jù)不同學(xué)科和類型實驗要求不一樣,一般理工科類的實驗需要對