www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GenerateSquareMatrixofLogicalOnesExample.m
%% Generate Square Matrix of Logical Ones % Use |true| to generate a 3-by-3 square matrix of logical ones. %% A = true(3) class(A) %% % The result is of class |logical|.