Does Matlab provide more control over Vandermonde matrix?

1 view (last 30 days)
For the existing function if vander() which populates Vandermonde matrix, it seems that it must return a square matrix of NxN where N is the length of the input vector. Does Matlab provide users with some control so that the number of powers taken can be specified, for example, only 3, instead of N. I know I can do that using my own script, but I just take a chance and hope Matlab has already provided this small bit of control and convenience. Thanks.
  3 Comments
dpb
dpb on 15 Apr 2019
Edited: dpb on 16 Apr 2019
Did you even read the documentation? The answer to the question directly is "No" -- there's no additional or optional input arguments to the builtin vander function.
That being the case, it seemed a link to prior similar discussion would be the useful info to provide.
That it is the same as what you said you knew doesn't negate the relevance...
You can always suggest an enhancement to the existing function for future releases.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!