当前位置:网站首页>[matlab] - draw a five-star red flag
[matlab] - draw a five-star red flag
2022-07-06 03:37:00 【Embedded workplace】
% Five star red flag
function varargout=saxplaxliu(varargin)
x=[0 0 40 40 0];
y=[0 13 13 0 0];
k=40/13;
fill(x,y,'r')
hold on
plot(x,y,'r')
axis([0 40 0 13])
seta=pi/6;
R=1.5;R2=0.55;x0=7;y0=9;seta=0;
fliu(R,R2,x0,y0,seta,k)
R=0.6;R2=0.23;x0=15;y0=11.6;seta=-pi/20;
fliu(R,R2,x0,y0,seta,k)
R=0.6;R2=0.23;x0=20;y0=10;seta=pi/20;
fliu(R,R2,x0,y0,seta,k)
R=0.6;R2=0.23;x0=19;y0=7;seta=pi/25;
fliu(R,R2,x0,y0,seta,k)
R=0.6;R2=0.23;x0=16;y0=5;seta=-pi/10;
fliu(R,R2,x0,y0,seta,k)
axis off
function fliu(R,R2,x0,y0,seta,k)
x=zeros(1,10);
y=x;
for i=1:5
x(2*(i-1)+1)=R*cos(pi/2+2*pi/5*(i-1)+seta);
x(2*i)&
边栏推荐
- BUAA magpie nesting
- Failure causes and optimization methods of LTE CSFB
- Svg drag point crop image JS effect
- SAP ALV cell level set color
- Schnuka: what is visual positioning system and how to position it
- 【RISC-V】外部中断
- 2.1 rtthread pin设备详解
- 关于非虚函数的假派生
- 蓝色样式商城网站页脚代码
- BUAA calculator (expression calculation - expression tree implementation)
猜你喜欢

SWC introduction

Tomb. Weekly update of Finance (February 7 - February 13)

Cubemx transplantation punctual atom LCD display routine

蓝色样式商城网站页脚代码
![[Li Kou] the second set of the 280 Li Kou weekly match](/img/8a/9718c38242f6f6f9637123dc4f3d8a.jpg)
[Li Kou] the second set of the 280 Li Kou weekly match

Tidb ecological tools (backup, migration, import / export) collation

C language circular statement

Image super-resolution using deep convolutional networks(SRCNN)解读与实现

The real machine cannot access the shooting range of the virtual machine, and the real machine cannot Ping the virtual machine

Pytorch load data
随机推荐
Exness foreign exchange: the governor of the Bank of Canada said that the interest rate hike would be more moderate, and the United States and Canada fell slightly to maintain range volatility
Cross origin cross domain request
【RISC-V】外部中断
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
User experience index system
Teach you to build your own simple BP neural network with pytoch (take iris data set as an example)
Canvas cut blocks game code
MADDPG的pythorch实现——(1)OpenAI MADDPG环境配置
教你用Pytorch搭建一个自己的简单的BP神经网络( 以iris数据集为例 )
Safety science to | travel, you must read a guide
UDP reliable transport protocol (quic)
Microkernel structure understanding
Schnuka: visual positioning system working principle of visual positioning system
Mapping between QoE and KQI
The real machine cannot access the shooting range of the virtual machine, and the real machine cannot Ping the virtual machine
Leetcode problem solving -- 173 Binary search tree iterator
3.1 rtthread 串口设备(V1)详解
3.2 detailed explanation of rtthread serial port device (V2)
Schnuka: 3D vision detection application industry machine vision 3D detection
3.1 detailed explanation of rtthread serial port device (V1)