Code covered by the BSD License  

Highlights from
Machine Learning with MATLAB

image thumbnail

Machine Learning with MATLAB


Abhishek Gupta (view profile)


05 Aug 2013 (Updated )

These are the supporting MATLAB files for the MathWorks webinar of the same name.

removequotes( x )
function ret = removequotes( x )
%REMOVEQUOTES This function removes any double quotes in a character
%   This function is written to complement a call from datasetfun to remove
%   unnecessary double quotes from the bank dataset.

% Copyright 2013 The MathWorks, Inc.

if isa(x,'cell')
    ret = regexprep(x,'"','');
elseif isa(x,'nominal')
    ret = regexprep(cellstr(x),'"','');
    ret = x;

Contact us