Re: [繪圖] 請問如何畫螺旋圖呢 ?

看板MATLAB作者 ( )時間14年前 (2012/03/11 21:46), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串2/2 (看更多)
: 麻煩高手給一點提示,自己看過多次,依然不懂教授要我做什麼,只知道 : 要畫類似螺旋的圖 : The following parametric equations generate a conical helix : x= t*cos(6t) : y= t*sin(6t) : z= t : Compute values of x,y and z for t = 0 to 6pi with t=pi/64. : Use subplot to generate : a two dimensional line plot (red solid line) of (x,y) : in the top pane : and a three-dimensional line plot (cyan solid line) of (x,y,z) in the : bottom pane. Label the axes for both plots. : 順便幫朋友PO他的,他也不了解教授的意思。 : 麻煩板上高手給點提示,並非要求解題,很少發文,如有冒犯多多提醒。 t=0:pi/64:6*pi ; x= t.*cos(6*t) ; y= t.*sin(6*t) ; z= t ; subplot(2,1,1) plot(x,y,'r') xlabel('x') ylabel('y') axis equal subplot(2,1,2) plot3(x,y,z,'c') xlabel('x') ylabel('y') zlabel('z') axis equal : 12. If the bunge jumper equation has been changed as: : 1) : where v is the velocity at time t, g is the gravitational force : (= 9.81 kg/m2) : and cd is the air drag coefficient (=0.25 kg/m) and m is the jumper’s : mass (68.1 kg), and : |v| is defined as: : |v|= v if v >0 : = -v if v <0 : (i.e. it is an absolute operation) : Also the position the jumper has at time t can be determined as : 2) : If it is assumed that the jumper’s initial position is defined as x(0) = 0 : at t= 0 and the velocity at t = 0 is defined also as v(0) = - 40m/s : Express equations 1) and 2) into differenec equations and then find : 12.1) v(2), x(2) : 12.2) v(4), x(4) 交給樓下 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.103.220

03/11 22:19, , 1F
高空彈跳問題 求列條件求方程
03/11 22:19, 1F

03/11 22:20, , 2F
感謝diva大大指點
03/11 22:20, 2F
文章代碼(AID): #1FNAoQtL (MATLAB)
文章代碼(AID): #1FNAoQtL (MATLAB)