5月21日 周日 丁酉 乙巳 戊申

2017-05-22  本文已影响0人  天蓬月

标签 : 北京、睛

一、MATLAB

1.1 floor函数

Y = floor(X)
rounds each element of X to the nearest integer less than or equal to that element

1.2 矩阵

x=house

house 函数

function X = house
% HOUSE  Outline of a house.
% H = house;
% dot2dot(H)
% wiggle(H)
&X = [ -6  -6  -7   0   7   6   6  -3  -3   0   0
      -7   2   1   8   1   2  -7  -7  -2  -2  -7 ];
dot2dot(x)

dot2dot 函数

function dot2dot(X)
% DOT2DOT  Connect the points from a 2-by-n matrix.
X(:,end+1) = X(:,1);
plot(X(1,:),X(2,:),'.-','markersize',18,'linewidth',2)
axis(10*[-1 1 -1 1])
axis square

二、linux 安装chrome

 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get -f install
上一篇 下一篇

猜你喜欢

热点阅读