24小时热门版块排行榜    

查看: 3156  |  回复: 10
本帖产生 2 个 仿真EPI ,点击这里进行查看
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
1592203609: 金币+5, 仿真EPI+1, 非常优秀的回帖! 2014-10-30 15:36:34
代码如下,plot3D见附件
[code/]
gN=3;                      %随机的规模
N=zeros(gN,gN,gN);
B=rand(gN,gN,gN);
p=0;
dp=0.1;
figure;
set(gcf,'DoubleBuffer','on'); % 设置图形窗口的渲染效果
grid on;
axis([0 12 0 12 0 12])
axis equal
for i=1:4
N((p+(i-1)*dp)<B&B<=(p+i*dp))=1;
plot3D(N,1,'b','vox',1,'pasive');
hold on
pause(0.5)
end
plot3D(~N,1,'r','vox',1,'pasive');
[/code]
三维数组绘制简单立方晶格
untitled.jpg

» 本帖附件资源列表

  • 欢迎监督和反馈:小木虫仅提供交流平台,不对该内容负责。
    本内容由用户自主发布,如果其内容涉及到知识产权问题,其责任在于用户本人,如对版权有异议,请联系邮箱:xiaomuchong@tal.com
  • 附件 1 : plot3D.m
  • 2014-10-30 12:39:41, 7.83 K
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2014-10-30 12:41:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ...
感谢参与,应助指数 +1
junmajifei: 金币+200, ★★★★★最佳答案, 基本达到了我的要求。 2014-10-30 17:08:54
1592203609: 金币+5, 仿真EPI+1, 非常优秀的回帖! 2014-10-30 21:30:05
图形如下
三维数组绘制简单立方晶格-1
untitled.jpg

» 本帖已获得的红花(最新10朵)

The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
5楼2014-10-30 16:13:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 junmajifei 的主题更新
信息提示
请填处理意见