matlab画图
夜莺与玫瑰
嵌入式、MATLAB、simulink、基于模型开发、stm32,dsp
展开
-
matlab画图程序整理
matlab绘图程序原创 2017-09-24 11:42:40 · 3417 阅读 · 0 评论 -
matlab画圆并生成随机数
%A区域生成随机数 %画圆 t=0:pi/100:2*pi; x=10*cos(t)+30.3; y=10*sin(t)+89.8; plot(x,y,'r');%生成随机数 a=zeros(2,8); i=1; while i<=8 temp1=rand(1)*20+20.3; temp2=rand(1)*20+79.8; if (temp1-30.3)^2+(temp2-89.8)^2<10^2原创 2017-09-24 16:58:25 · 2775 阅读 · 0 评论