基于matlab编程圣诞树图源码程序
所属分类:其他
开发工具:matlab
文件大小:147KB
下载次数:3
上传日期:2020-12-22 06:24:11
上 传 者:
1115342
说明: 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)
近期下载者:
相关文件:
收藏者: