Write matrix in a file in binary form

Status
Not open for further replies.

madalin1990

Full Member level 2
Joined
Apr 4, 2012
Messages
124
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Visit site
Activity points
2,090
Hi !

I have a 204-by-204 matrix. I want to write this matrix in a file(with .coe extension) in binary form. The .coe file format is as follows:

memory_initialization_radix=2;
memory_initialization_vector=
byte_1,
byte_2,
..............
byte_n;

Which function should i use? One last observation: the matrix elements are decimal.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…