There's a lot of ways to do this; here's the first one that came to my mind:
1. Create a drop-dwon menu you call Order and add all the order options you want available (or you could use just a numeric).
2. Create an array you call Coefficients. Hide the Index Display.
3. Create a property node of the array and select the "number of rows" or the "number of columns" property. Add 1 to the Order control's value and wire the result to this property. Now you have an array control that will resize to allow input of the correct number of coefficients.
4. If the array has been of a larger size previously you can either choose to ignore the coefficients not in use by code, or you can check the order value and reinitialize the array if the order changes (just wire
it to a shift register, check the value - if it has changed (there's a VI around that's called Change detector that is very nice to use for this, as an alternative), initialize an array of the correct size and write it to a local of the array control).
You can off course use separate controls instead of an array and just hide/show them depending on the order. The number of coefficients is not that big so you can use build array...but in cases where the arrays are large the best thing is to initialize an array of the right size and then use replace array elements. The replace function does accept array input by the way, you don't need to replace single elements (if you do, do it in a loop, or expand it (put the mouse pointer to the lower edge of the function's icon and scale it downwards...new terminals will appear as it scales) so that you get more than one index and element input).