Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
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)
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016