checker

版本 1.0.0 (34.4 KB) 作者: Chad Greene
Make a simple logical checkerboard pattern.
20.0 次下载
更新时间 2019/8/9

查看许可证

This is a very simple function that creates a 2D logical matrix with a checkerboard pattern. It's similar to the true or false functions.

% Syntax

tf = checker(N)
tf = checker([M N])
tf = checker(M,N)

% Description

tf = checker(N) creates an NxN checkerboard pattern.

tf = checker([M N]) creates an MxN checkerboard pattern.

tf = checker(M,N) creates an MxN checkerboard pattern.

% Example

imagesc(checker(5))

引用格式

Chad Greene (2024). checker (https://www.mathworks.com/matlabcentral/fileexchange/72400-checker), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Periodic Waveform Generation 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0