Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 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 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)
<< 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 Oct 05 12:11:03 CEST 2011