This preview shows page 1. Sign up to view the full content.
Unformatted text preview: .. %do not take spaces into account y = isLetter(str); forward = str; %sets the forward expression equal to the string minus the spaces backward = str(end:-1:1); %sets the backward expression equal to the string reversed minus the %spaces logical = strcmpi(forward,backward); %determines whether the forward string is equal to the backwards string end...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.
- Spring '08