decode - string(1) = 's'; elseif vec(3) str = [string(2)

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

View Full Document Right Arrow Icon
function str = decode(string) if isempty(string) str = []; else vec = strcmp(string(1),{'s','%','z'}); if vec(1) string(1) = ' '; elseif vec(2)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: string(1) = 's'; elseif vec(3) str = [string(2) decode(string(2:end))]; end str = [string(1) decode(string(2:end))]; end 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.

Ask a homework question - tutors are online