title: Error using == Matrix dimensions must agree
body: <p>my system will give me the a/m error when I input more than 3 characters</p>
  
  <pre><code>a = input('Please type f0 or f1: ' , 's');
  
  if a == 'f0'; 
      Run_f0
  elseif a == 'f1';
      Run_f1 
  else 
      disp('Please enter f0 or f1 only');
  end
  </code></pre>
  
  <p>what should I do to resolve this error?
  Thanks in advance</p>