[Maxima] matrix indexing
Ruida Yun
Ruida.Yun at tufts.edu
Fri Nov 5 09:15:26 CDT 2010
Hi all,
I have read a set of data from a .csv file into matrix m using numericalio.
This part works great so far.
My problem is how to subscripting the matrix like Matlab, because I really
need to plot/manipulate part of the matrix, for example, from the n_th row
to m_th row.
After digging out some old conversations on the mailing list, I've learned
that my best shot would be using amatrix package. I loaded the package but
ended up with this error:
m[[1,2],3]
apply: subscript must be an integer; found: [1,2]
-- an error. To debug this try: debugmode(true);
m[1,all];
apply: subscript must be an integer; found: all
-- an error. To debug this try: debugmode(true);
Is there any solution to this problem? Any help or suggestion is
appreciated.
Ruida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20101105/4cf3806d/attachment-0001.html>
More information about the Maxima
mailing list