SUNY Geneseo Department of Mathematics
Friday, April 15
Math 304
Spring 2016
Prof. Doug Baldwin
function [ f ] = q( w )
%Q Given string w, return a description of a function that returns w
wQuote = strrep( w, '''', '''''' );
f = [ 'function w = returnString(); w = ''', wQuote, '''; end' ];
end