matlab范例,MATLAB示例

从数学建模论坛上整理的MATLAB示例

中国数学建模-编程交流-【编程学习】matlab实用程序百例

wh-ee 重登录 隐身 用户控制面板 搜索 风格 论坛状态 论坛展区 社区服务 社区休闲 网站首页 退出

>> VC++,C,Perl,Asp...编程学习,算法介绍. 我的收件箱 (0)

中国数学建模 → 学术区 → 编程交流 → 【编程学习】matlab实用程序百例

您是本帖的第 2185 个阅读者

* 贴子主题:【编程学习】matlab实用程序百例

宝宝

头衔:不可不信缘

等级:贵宾

威望:3

文章:1116

积分:3459

门派:宝宝堂

注册:2003-7-8

第 31 楼

实例27:设置照明方式

function shili27

h0=figure('toolbar','none',...

'position',[200 150 450 350],...

'name','实例27');

subplot(2,2,1)

sphere

shading flat

camlight left

camlight right

lighting flat

colorbar

axis off

title('Figure1')

subplot(2,2,2)

sphere

shading flat

camlight left

camlight right

lighting gouraud

colorbar

axis off

title('Figure2')

subplot(2,2,3)

sphere

shading interp

camlight right

camlight left

lighting phong

colorbar

axis off

title('Figure3')

subplot(2,2,4)

sphere

shading flat

camlight left

camlight right

lighting none

colorbar

axis off

title('Figure4')

----------------------------------------------

为了大学生数学建模,我愿和你成为朋友吧!

一起努力,分享好东西!分享快乐!!

2004-6-1 9:52:25

宝宝

头衔:不可不信缘

等级:贵宾

威望:3

文章:1116

积分:3459

门派:宝宝堂

注册:2003-7-8

第 32 楼

实例28:羽状图

function shili28

h0=figure('toolbar','none',...

'position'

,[200 150 450 350],...

'name','实例28');

subplot(2,1,1)

alpha=90:-10:0;

r=ones(size(alpha));

m=alpha*pi/180;

n=r*10;

[u,v]=pol2cart(m,n);

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值