%% Convert Character Vector to Numbers
% Create a character vector that represents several numbers separated by whitespace characters. Convert the character vector to a column vector of numbers. sscanf treats whitespace characters as separators between numbers.

chr = '2.7183  3.1416  0.0073'

%

A = sscanf(chr,'%f')

% Copyright 2012 The MathWorks, Inc.