checker

Version 1.0.0 (34,4 ko) par Chad Greene
Make a simple logical checkerboard pattern.
20 téléchargements
Mise à jour 9 août 2019

Afficher la licence

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

Citation pour cette source

Chad Greene (2024). checker (https://www.mathworks.com/matlabcentral/fileexchange/72400-checker), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2019a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Periodic Waveform Generation dans Help Center et MATLAB Answers
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0