| 5 | 1/1 | 返回列表 |
| 查看: 1047 | 回復: 7 | ||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
benladen木蟲 (小有名氣)
|
[求助]
matlab程序運行報錯求助 已有2人參與
|
|
|
m文件如下,運行報錯,求調試 其子函數(shù)程序為: function[s,v,a]=Zihanshu(theta1) global LBC XD theta3=atan(0.075*sin(theta1)./(0.075*cos(theta1)+0.15)); delta_theta1=atan(0.075*sin(theta1+2*pi*10^(-6))./(0.075*cos(theta1+2*pi*10^(-6))+0. 15)); delta_theta2=atan(75*sin(theta1+4*pi*10^(-6))./(75*cos(theta1+4*pi*10^(-6))+150)); s=sqrt((LBC)^2-(XD-0.23+0.15+0.1*cos(theta3)).^2)-0.1*sin(theta3); s1=sqrt((LBC)^2-(XD-0.23+0.15+0.1*cos(delta_theta1)).^2)-0.1*sin(delta_theta1); v=-((s1-s)/10^(-6)); s2=sqrt((LBC)^2-(XD-0.23+0.15+0.1*cos(delta_theta2)).^2)-0.1*sin(delta_theta2); a=-(((s2-s1)/10^(-6)-(s1-s)/10^(-6))/10^(-6)); 帶入主函數(shù)程序: global LBC XD LBC=0.100; XD=-0.150; [s,v,a]=Zihanshu(4/3*pi:2*pi/36:10/3*pi); theta1=4/3*pi:2*pi/36:10/3*pi; subplot(1,3,1) plot(theta1,-s,'-b'); title('Image of displacement of cutting tool'); ylabel('value of function') grid on; subplot(1,3,2) plot(theta1,v,'-k'); title('Image of speed of cutting tool'); xlabel('theta'); grid on; subplot(1,3,3) plot(theta1,a,'-m'); title('Image of acceleration of cutting tool'); grid on; |
木蟲 (小有名氣)
木蟲 (小有名氣)
銀蟲 (正式寫手)
木蟲 (正式寫手)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 286求調劑 +10 | Faune 2026-03-21 | 10/500 |
|
|---|---|---|---|---|
|
[考研] 328求調劑,英語六級551,有科研經歷 +5 | 生物工程調劑 2026-03-17 | 9/450 |
|
|
[考研] 資源與環(huán)境 調劑申請(333分) +5 | holy J 2026-03-21 | 5/250 |
|
|
[考研] 廣西大學材料導師推薦 +3 | 夏夏夏小正 2026-03-17 | 5/250 |
|
|
[考研] 考研化學學碩調劑,一志愿985 +5 | 張vvvv 2026-03-15 | 7/350 |
|
|
[考研] 材料 271求調劑 +5 | 展信悅_ 2026-03-21 | 5/250 |
|
|
[考研] 求調劑 +3 | 白QF 2026-03-21 | 3/150 |
|
|
[考研] 330求調劑0854 +3 | assdll 2026-03-21 | 3/150 |
|
|
[考研] 0856材料專碩353求調劑 +3 | NIFFFfff 2026-03-20 | 3/150 |
|
|
[考研] 310求調劑 +3 | baibai1314 2026-03-16 | 3/150 |
|
|
[考研] 初始318分求調劑(有工作經驗) +3 | 1911236844 2026-03-17 | 3/150 |
|
|
[考研] 一志愿中國石油大學(華東) 本科齊魯工業(yè)大學 +3 | 石能偉 2026-03-17 | 3/150 |
|
|
[考研] 求調劑 +3 | Ma_xt 2026-03-17 | 3/150 |
|
|
[考研] 296求調劑 +6 | www_q 2026-03-18 | 10/500 |
|
|
[考研] 一志愿中海洋材料工程專碩330分求調劑 +8 | 小材化本科 2026-03-18 | 8/400 |
|
|
[考研] 288求調劑 +16 | 于海海海海 2026-03-19 | 16/800 |
|
|
[考研] 一志愿西南交通 專碩 材料355 本科雙非 求調劑 +5 | 西南交通專材355 2026-03-19 | 5/250 |
|
|
[考研] 353求調劑 +3 | 拉鉤不許變 2026-03-20 | 3/150 |
|
|
[考研] 0703化學336分求調劑 +6 | zbzihdhd 2026-03-15 | 7/350 |
|
|
[考研] 考研調劑 +3 | 淇ya_~ 2026-03-17 | 5/250 |
|