# Store a complex matrices in .dat file

**URL:** <https://community.freefem.org/t/store-a-complex-matrices-in-dat-file/2997>\
**Category:** General Discussion\
**Created:** [February 25, 2024, 10:24am UTC](https://community.freefem.org/t/store-a-complex-matrices-in-dat-file/2997 "2024-02-25T10:24:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amitkaush](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/amitkaush/32/1978_2.png) [@Amitkaush](https://community.freefem.org/u/Amitkaush)\
**Post date:** [February 25, 2024, 10:24am UTC](https://community.freefem.org/t/store-a-complex-matrices-in-dat-file/2997/1 "2024-02-25T10:24:59Z")

</div>

I found out that writing a matrix in .dat file is efficient than writing in .csv file.  
Is there a way to store the real and imaginary part of a matrix in different files which will make their manipulation in matlab efficient
