title: How to take a polynomial as input in matlab?
body: <p>I want to take a polynomial p as input from user in matlab for a given degree (specified by the user each time) such that the polynomial is input one element at a time into a matrix at each index from 1 to n. where n is the polynomial degree. was tryin to do something like this but m stuck</p>
  
  <pre><code>     for M = 1:n
          p[n] = input('polynomial')
          p
       end
  </code></pre>
  
  <p>How should I input a polynomial coefficient at each index of matrix i.e. how to reach each index position?</p>