title: Calling MATLAB variables with varying names
body: <p>I have a set of variables in MATLAB with names <code>A1</code>, <code>A2</code>, ..., <code>A100</code>.  I also have a function that generates a random integer between 1 and 100.</p>
  
  <p>If the random integer is <code>n</code>, how can I call the associated variable <code>An</code> without needing to create 100 if-statements or switch-cases?</p>