characterstrings

characterstrings - uint8('B') u % to find out what a number...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% 2/24/11 % character strings % clear clc c % type in command window A = 'amos johnson' A A = 'amos 01' A % b is a number b = 2 % be is a character b = '2' b uint8('A') % this will tell you the numerical number for A uint8(' ')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: uint8('B') u % to find out what a number is char(91) char(240) c A = 'amos johnson' A + 1 % changes char to numbers and adds 1 char(ans) % changes the numbers back to letters % OR char(A+1) c...
View Full Document

This note was uploaded on 05/01/2011 for the course HCSC 110 taught by Professor Amosjohnson during the Spring '11 term at Morehouse.

Ask a homework question - tutors are online