Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Matlab to Scilab Conversion Tips > Matlab-Scilab equivalents > I > isletter (Matlab function)

isletter (Matlab function)

True for letters of the alphabet

Matlab/Scilab equivalent

Matlab Scilab
No equivalent

Particular cases

There is no equivalent function to Matlab isletter function in Scilab. However it can be replaced as follows. Using mtlb_isletter will give a prettier code.

Examples

Matlab Scilab
tf = isletter(A)
// If A is a String matrix:
tf = ((asciimat(A)>=65) & (asciimat(A)<=90)) | ((asciimat(A)>=97) & (asciimat(A)<=122))
// If A is not a String matrix:
tf = zeros(A)
Report an issue
<< isinteger (Matlab function) I islogical (Matlab function) >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:57 CEST 2012