title: Forcing variable type in MATLAB
body: <p>I have variables which are of <code>double</code> type I want them to be <code>float</code>. Is there a way to force a variable to be <code>float</code> and not double, also, Is there a way to do it in some global way for all functions and sub functions with few lines at the start of the main function? I have many functions and they use many temporary variables and create variables that they return. Going over all of my functions and changing them will be very difficult.</p>
  
  <p>My rational for this request:</p>
  
  <p>I'm writing the MATLAB program in order to simulate an algorithm which I'll then implement in hardware, I want to make sure that using 32bit as the size of my signals will not cause calculation errors.</p>