R Tutorial 7 – Solving systems of linear equations.

R is a programming language and software environment for statistical computing and graphics. The R language has become a de facto standard among statisticians for the development of statistical software, and is widely used for statistical software development and data analysis. R is part of the GNU project.

at 3:26 what are the characters after A?

it looks like a diagonal 8 or a percentage sign % without the line in between

R by its nature operates as vectors. So b is already a vector even without specifying the dimensions. b is not to be read as having 3 columns but instead one column and 3 rows.

hey could u do for finding the quadratic equation using r ?

what if your matrix is not a square matrix and it is also non-linear?

HELLO, I can not get the same result of “solve (A)” as what you’ve got. I rerun the A, which shows that the matrix is still the right matrix. and then, without anything else was undertaken, simply “solve (A)” just didn’t come right. and my checking, “solve (A) %*% b” does not equal to the value of x. So do you have any idea where I might go wrong?

when creating b matrix, don’t we need to use “dim” function to have 3 rows and 1 column rather than having 3 columns and 1 row (time 2.40)

What is this “array()” function? Wouldn’t it be more handy to define the vectors and use rbind or directly the matrix() function? Does array() have any advantage?

se puede solucionar sistemas no lineales?

answered above

Thanks for making these videos!

So useful thankyou

What if i want to solve just 1 second degree equality like say 0.2*x+0.8*x^2=0 ?

excuse me, what function have solve???

Very nice video, thank you very much! Can you use R to solve pseudoinverses as well? 😉

it is a % * % for the “real” matrix multiplication. plus thats what the full screen option is for…

Great R tutorial! What’s missing is stuff that has to do with statistics. Tables, data frames, reading from and to files and maybe plotting.

can solve nonlinear systems?

.. I guess it was a percentage sign, it was hard to see on the screen