Hi list, Thanks for your replies concerning matlab-to-pd matrix export. Some more questions : Can zexy lib process 3D matrices ? (I mean matrices with 3 indices, e.g. a 10x8x3 matrix) If yes, how is a 3D matrix described in zexy, and how can I export it from matlab ? If not, is there a pd lib which allows it ? Or a max lib ? thanks a lot.
François Bardet 10 place Thomas F-63000 Clermont-Ferrand 0033 4 73 92 50 80
Faites un voeu et puis Voila ! www.voila.fr
f.bardet@voila.fr wrote:
Hi list, Thanks for your replies concerning matlab-to-pd matrix export. Some more questions : Can zexy lib process 3D matrices ?
no, unfortunately not.
(I mean matrices with 3 indices, e.g. a 10x8x3 matrix) If yes, how is a 3D matrix described in zexy, and how can I export it from matlab ?
there are 4 reasons why i did not implement n-dimensional matrices: a) i don't know a human readable way to store such matrices (but probably i should do a binary matrix reader/writer anyhow, e.g. to allow for real float precision)
b) when i do 3D-matrices, people will come and ask for even higher dimensional matrices, so i (or someone) would need to implement a generic n-dimensional matrix
c) i have no idea how to do any "real" math on such matrices (apart from element-wise calculations); so such matrices would be general (more dimensional) storage containers and not just elements to do maths with.
d) i just did not need it ;-)
If not, is there a pd lib which allows it ? Or a max lib ?
if you just need general storage containers, you could use PDContainers by Georg Holzmann, which is a wrapper around C++ containers (like <vector>,...).
if you want to do complicated maths with your matrices, you are probably best of with GridFlow (which is more famous for video-processing, but is far more general, so it can be used for this; but you would need some knowledge of ruby)
and i guess you would need to write an importer from matlab yourself.
mfg.asd.r IOhannes