Is there a way to return a decimal matrix to a stl file?

1 次查看(过去 30 天)
I changed the binary stl file made up of triangulation into decimal matrix through the fread.
I'd like to know how to revert this decimal matrix to a stl file.
And the decimal matrix consists of 13797684x1 double, and the stl file is the binary file.

采纳的回答

Walter Roberson
Walter Roberson 2020-12-14
  8 个评论
Jungwu Kim
Jungwu Kim 2020-12-17
Oh...I wanted to somehow get the binary file back to stl... Is there no way?
Walter Roberson
Walter Roberson 2020-12-17
In order to convert the binary file back to stl you would need to read the binary file and do a Reed Solomon decoding on it to strip out the extra information.
The only reason to go through a Reed Solomon step is if the encoded binary is going to be transmitted over a channel that has noisy on it, as the RS information would give an opportunity to correct the noise and receive the file correctly. You might do this if you were transmitting the data by radio, and if for some reason it was cheaper to correct the data along the way instead of breaking it into sections and retransmitting the failed blocks. For example it might be worth doing if you were transmitting the file to Mars. Or if you were transmitting by satellite, as download bandwidth for satellite is much higher than upload bandwidth except at base stations.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by