| 查看: 5046 | 回复: 2 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
zyw0816木虫 (小有名气)
|
[求助]
MATLAB画剖面图
|
|
|
n=10000; t1=(-170+340*rand(n,1))*pi/180; t2=(-50+120*rand(n,1))*pi/180; t3=(-90+180*rand(n,1))*pi/180; t4=(-150+130*rand(n,1))*pi/180; x=200*cos(t1).*cos(t2).*cos(t3)-sin(t1).*sin(t3)).*cos(t4)-200*cos(t1).*sin(t2).*sin(t4)+650 y=200*sin(t1).*cos(t2).*cos(t3)+cos(t1).*sin(t3)).*cos(t4)-200*sin(t1).*sin(t2).*sin(t4)+650*sin(t1).*cos(t2).*cos(t3) z=-200*sin(t2).*cos(t3).*cos(t4)-200*cos(t2).*sin(t4)+650*sin(t2).*cos(t3).*sin(t4)-650*cos(t2).*cos(t4)+98*sin(t2).*sin(t3)+676*cos(t2); figure plot3(x,y,z,'*') 求z=固定值时的截面图 |
» 猜你喜欢
311求调剂
已经有21人回复
343求调剂085601
已经有7人回复
327求调剂
已经有9人回复
297求调剂
已经有5人回复
材料调剂
已经有7人回复
283分求调剂
已经有5人回复
336求调剂
已经有8人回复
329求调剂,一志愿西北工业大学,材料工程(085601)
已经有14人回复
兽医调剂
已经有3人回复
材料334求调剂
已经有4人回复

zyw0816
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 1345.3
- 散金: 719
- 红花: 1
- 帖子: 251
- 在线: 82.8小时
- 虫号: 3543393
- 注册: 2014-11-18
- 性别: GG
- 专业: 机械动力学

3楼2016-03-29 23:05:44














回复此楼
送红花一朵
10