您现在的位置:首页 >> ★免费资源 >> 各类算法程序 >> 内容

表面图形★matlab代做|fpga代做

时间:2017/4/21 0:42:27 点击:

  核心提示:matlab硕士代做,matlab博士代做,matlab SCI代写,MATLA期刊代写...

matlab硕士代做,matlab博士代做,matlab SCI代写,MATLA期刊代写

function shili31

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

    'position',[200 150 550 250],...

    'name','实例31');

subplot(1,2,1)

x=rand(100,1)*16-8;

y=rand(100,1)*16-8;

r=sqrt(x.^2+y.^2)+eps;

z=sin(r)./r;

xlin=linspace(min(x),max(x),33);

ylin=linspace(min(y),max(y),33);

[X,Y]=meshgrid(xlin,ylin);

Z=griddata(x,y,z,X,Y,'cubic');

mesh(X,Y,Z)

axis tight

hold on

plot3(x,y,z,'.','Markersize',20)

 

subplot(1,2,2)

k=5;

n=2^k-1;

theta=pi*(-n:2:n)/n;

phi=(pi/2)*(-n:2:n)'/n;

X=cos(phi)*cos(theta);

Y=cos(phi)*sin(theta);

Z=sin(phi)*ones(size(theta));

colormap([0 0 0;1 1 1])

C=hadamard(2^k);

surf(X,Y,Z,C)

axis square

 

作者:表面图形 来源:表面图形
  • 您是如何找到本站的?
  • 百度搜索
  • Google搜索
  • 查阅资料过程中
  • 论坛发现
  • 百度贴吧发现
  • 朋友介绍
本站最新成功开发工程项目案例
相关文章
  • 没有相关文章
相关评论
发表我的评论
  • 大名:
  • 内容:
  • matlab代做|matlab专业代做|matlab淘宝代做|FPGA项目合作(www.hslogic.com) © 2023 版权所有 All Rights Reserved.
  • Email:highspeed_logic@163.com 站长QQ: 1224848052

    专业代做/代写/承接、MATLAB、SIMULINK、FPGA项目、博士/硕士/本科课题、Coursework、Eassy、Assignment