From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 8 05:17:43 1999 Subject: Re: matlab "sparse" function From: Daniel Heiserer To: Pablo Ledesma , "help-octave@bevo.che.wisc.edu" Date: Fri, 08 Jan 1999 12:16:58 +0100 Pablo Ledesma wrote: > Is there anything similar to the matlab "sparse" function in octave? > > Thanks, > Pablo > > ------------------------------------------------------------------------- > Pablo Ledesma Larrea Universidad Carlos III de Madrid > Butarque 15, 28911 Leganes, Madrid Spain Email: pablole at ing dot uc3m dot es > ------------------------------------------------------------------------- I don't think so. Somebody has posted some operations on sparse matrices in the last year. He used a 3/4 by N Matrix to express a M times M sparse matrix A. (N was the number of nonzeros in A). You can use "find" to create something like that. ========= I miss the matlab 5 and especially the matlab 4 features/datastructures a lot as there are: o sparse matrices o cell structures I know that somebody has to implement them, but my c++/numerical know-how is poor and my time is probably too short (as of most others). Structs already exist, but afair they couldn't be saved inside octave. Anyway octave is cool and provides a lot of features. -- Mit freundlichen Gruessen Daniel Heiserer ----- -------------------------------------------------------------- Dipl.-Phys. Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen Abteilung EK-20 Tel.: 089-382-21187, Fax.: 089-382-42820 mailto:daniel dot heiserer at bmw dot de