Re: [Jgeneral] Matlab .mat file format reader?

2023-11-15 Thread Devon McCormick
Eric, thanks for the suggestion. I already have input files in Python which I am fighting to output the simple text format I want but was hoping I could read the Matlab versions directly into J if a utility already exists. The Matlab .mat file spec seems straightforward but it may be simpler to

Re: [Jgeneral] Matlab .mat file format reader?

2023-11-15 Thread Eric Iverson
Devon, Python pandas can load matlab mat files. I think (but don't know) that it would be fairly straightforward to use the Jd pandas support (for parquet and other formats) to work with mat files. Google (pandas and matlab mat files) and the Jd jdrt'pandas' tutorial might be a way forward. The

Re: [Jgeneral] Matlab .mat file format reader?

2023-11-14 Thread Devon McCormick
Thanks! I seem to recall writing a reader in APL or J a long time ago and it was easy but I have no idea where the code is. On Tue, Nov 14, 2023 at 4:23 PM Jan-Pieter Jacobs < janpieter.jac...@gmail.com> wrote: > I was curious and googled around a bit, finding this pdf, maybe it could > help in

Re: [Jgeneral] Matlab .mat file format reader?

2023-11-14 Thread Jan-Pieter Jacobs
I was curious and googled around a bit, finding this pdf, maybe it could help in case you're wanting to implement a Mat file reader: https://www.mathworks.com/help/pdf_doc/matlab/matfile_format.pdf which describes mat file levels 5 and 4. It seems current as it's been re-released in 2023. It looks

Re: [Jgeneral] Matlab .mat file format reader?

2023-11-14 Thread 'Mike Day' via General
Don't know, but Google tells me you can do so in R, and there's an R interface in addons/stats/r. Might get you started, Mike Sent from my iPad > On 14 Nov 2023, at 04:10, Devon McCormick wrote: > > Has anyone written something to read Matlab ".mat" data files into J? > > Thanks... > >

[Jgeneral] Matlab .mat file format reader?

2023-11-13 Thread Devon McCormick
Has anyone written something to read Matlab ".mat" data files into J? Thanks... -- Devon McCormick, CFA Quantitative Consultant -- For information about J forums see http://www.jsoftware.com/forums.htm