format long(adsbygoogle = window.adsbygoogle || []).push({});

n = inputdlg('Please enter a series of numbers seperated by spaces/commas: ')

numbers = str2num(n{1});

X = 0

V = fliplr(vander(numbers))

r_size = size(V,2);

c_size = size(V,1);

B = 1+(r_size./numbers)

X = B/V

Here's what I have so far. I've been running the program with n = 5, 15, 20, and basically I want to implement an a way of calculating an error vector using Error = (X - D_{t}), where D_{t}= [1, 1, 0, 0, 0, . . . , 0]^{T}.

I'm not really quite sure how to go about this, and is this a good way to solve VX = B for X? Cheers for any advice guys.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Vandermonde Matrix and an Error Vector

Loading...

Similar Threads - Vandermonde Matrix Error | Date |
---|---|

Mathematica Summing matrix components | Thursday at 3:56 PM |

Mathematica Errors when plotting but not when evaluating | Mar 13, 2018 |

Eigenvectors 4x4 Matrix in Mathematica | Aug 26, 2017 |

LaTeX Vertical line in matrix | Feb 23, 2017 |

How do I extract elements of a random matrix masked by a circle with its center at A(15,26) | Sep 15, 2016 |

**Physics Forums - The Fusion of Science and Community**