# How o calculate weights in a linear equation?

The idea is to calculate output (y) using a linear combination of the 4 variables (x1, x2, x3, x4):

y = (a1 * x1 ) + (a2 * x2 ) + (a3 * x3 ) + (a4 * x4 )

My question is how to calculate those weights (a1, a2, a3, a4)?

Join Matchmaticians Affiliate Marketing
Program to earn up to 50% commission on every question your affiliated users ask or answer.

- unanswered
- 111 views
- Pro Bono

### Related Questions

- Linear Algebra - Vectors and Matrices
- Hello! I Would like a proof detailed of the following question.
- Linearly independent vector subsets.
- Linear Algebra: Quadratic Forms and Matrix Norms
- Find the eigenvalues of $\begin{pmatrix} -1 & 1 & 0 \\ 1 & 2 & 1 \\ 0 & 3 & -1 \end{pmatrix} $
- Elementary row reduction for an $n\times n$ matrix
- Decide if the following representations are linear representations.
- Consider the plane in R^4 , calculate an orthonormal basis

This question should be offered a bounty.