matlab 圣诞树,基于matlab编程圣诞树图源码程序

基于matlab编程圣诞树图源码程序

所属分类:其他

开发工具:matlab

文件大小:147KB

下载次数:3

上传日期:2020-12-22 06:24:11

上 传 者:hlayumi

说明:  function christmas

% Anselm Ivanovas, anselm.ivanovas@student.unisg.ch

%Basically just a nice plot for some christmas fun.

%3D Plot of a hhristmas tree with some presents and snow

%% setup

snow=800; % number of snow flakes [0 .. 5000]

%% draw tree

h=0:0.2:25; %vertical grid

[X,Y,Z] = cylinder(tree(h)); %produce a tree formed cylinder

Z=Z*25; %scale to the right heigth

%Add some diffusion to the surface of the tree to make it look more real

(function christmas

% Anselm Ivanovas, anselm.ivanovas@student.unisg.ch

%Basically just a nice plot for some christmas fun.

%3D Plot of a hhristmas tree with some presents and snow

%% setup

snow=800; % number of snow flakes [0 .. 5000]

%% draw tree

h=0:0.2:25; %vertical grid

[X,Y,Z] = cylinder(tree(h)); %produce a tree formed cylinder

Z=Z*25; %scale to the right heigth

%Add some diffusion to the surface of the tree to make it look more real

treeDiffusion=rand(126,21)-0.5;%some horizontal diffusion data

%add diffusion to the grid points)

文件列表:[举报垃圾]

基于matlab编程圣诞树图源码程序\hslogic算法仿真.txt, 97 , 2020-08-29

基于matlab编程圣诞树图源码程序\matlab圣诞树图, 0 , 2020-12-22

基于matlab编程圣诞树图源码程序\matlab圣诞树图\christmas.m, 4366 , 2015-10-30

基于matlab编程圣诞树图源码程序\matlab圣诞树图.png, 139121 , 2015-10-30

基于matlab编程圣诞树图源码程序\微信加好友.jpg, 11326 , 2020-12-22

基于matlab编程圣诞树图源码程序, 0 , 2020-12-22

近期下载者:

相关文件:

收藏者:

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值