控制系統仿真

3 3-1 X = [4 15 7 3 1]; pie(X) X = [4 15 7 3 1]; labels = {'100-90','89-80','79-70','69-60','59-0'}; pie(X,labels) pie3(X,labels) X = reordercats(X,{'100-90','89-80','79-70','69-60','59-0'}); Y=[4 15 7 3 1]; bar(X,Y) bar3(X,Y) 3-2 plot(x1,y1) x1 = linspace(0,2*3.1415926,125); y1=cos(x1.*(0.5+3.*sin(x1)/(1+x1.*x1))) 3-3 z = linspace(-45,45,500); x = z.*sin(3.*z) y = z.*cos(3.*z) 3-4 t = linspace(-200,200,5000); y1=sin(2.*t+0); y2=sin(2.*t+3.1415926/3); y3=sin(2.*t+3.1415926/2); y4=sin(2.*t+3.1415926); subplot(2,2,1) plot(x,y1) subplot(2,2,2) plot(x,y2) subplot(2,2,3) plot(x,y3) subplot(2,2,4) plot(x,y4)

防火墙的使用

单端口 端口转发 同端口 端口转发 iptables -t nat -A PREROUTING -p tcp --dport [本地端口] -j DNAT --to-destination [目标IP:目标端口] iptables -t nat -A PREROUTING -p udp --dport [本地端口] -j DNAT --to-destination [目标IP:目标端口]

Solidity開發01

pragma solidity ^0.4.20; // 定义ERC-20标准接口 contract ERC20Interface { // 代币名称 string public name; // 代币符号或者说简写 string public symbol; // 代币小数点位数,代币的最小单位 uint8 public decimals; // 代币的发行总量 uint public totalSupply;

Open mmlab mmtracking

环境 (mmcv) w0x7ce@w0x7ce-XPS-15-9570:~/Desktop/mmtracking$ nvidia-smi Fri Oct 1 10:29:58 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 450.142.00 Driver Version: 450.142.00 CUDA Version: 11.0 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 GeForce GTX 105... Off | 00000000:01:00.0 Off | N/A | | N/A 36C P8 N/A / N/A

Openpose调试

bin\OpenPoseDemo.exe –model_pose COCO –net_resolution 320x176 bin\OpenPoseDemo.exe –video examples/media/video.avi –num_gpu 1 –num_gpu_start 0 –net_resolution 480x320 bin\OpenPoseDemo.exe –video examples/media/video.avi –write_video output/result.avi