image thumbnail

toSingle

version 1.0.0.0 (1.24 KB) by Ben Barrowes
Converts all numeric variables in the workspace, or optionally all doubles only, to single precision

216 Downloads

Updated 21 Feb 2013

View License

% TOSINGLE - toSingle(doublesOnly)
%
% Converts all numerical variables in the calling
% workspace to single precision
%
% If doublesOnly is nonzero, then it converts only
% the doubles in the calling workspace to singles
%

Cite As

Ben Barrowes (2021). toSingle (https://www.mathworks.com/matlabcentral/fileexchange/40444-tosingle), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!