checker

Versión 1.0.0 (34,4 KB) por Chad Greene
Make a simple logical checkerboard pattern.
20 descargas
Actualizado 9 ago 2019

Ver licencia

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))

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Periodic Waveform Generation en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0