⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 length.m

📁 一个matlab的将军模型
💻 M
字号:
function l = length(v)

% Find the length of a vertices object 
%
% Syntax:
%   "l = length(vtcs)"
%
% Description:
%   "length(vtcs)" returns the number of points represented by "vtcs". 
%
% Examples:
%   Given a vertices object, "vtcs" representing a square in the x3 = 0
%   plane with corners at (x1,x2) pairs (2,1), (2,3), (4,3), and (4,1), 
%
%
%
%   "l = length(vtcs)"
%
%
%
%   returns 
%
%
%
%   "l = 4"
%
%
%
% See Also:
%   vertices

l = size(v.list,2);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -