Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Français

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

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

Aide de Scilab >> Aide à la conversion Matlab vers Scilab > 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-2024 (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:
Wed Apr 01 10:21:53 CEST 2015