Keep Matrix Structure when Extract a Row/Column from a Matrix

Posted on Aug 14, 2012 in Programming • Tagged with programming, data structure, algebra, matrix, R, vector, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

I talked in the post Abuse of Vector in R that it is often the case that we want keep the matrix sturcture when extracting a row …


Continue reading

Linear Algebra in MATLAB

Posted on Dec 04, 2012 in Computer Science • Tagged with algebra, programming, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. Unlike most other programming languages, to get elements of an array in MATLAB, you have to parentheses to specify index. See more information in this post. If …


Continue reading