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

조회 수: 8(최근 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
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개)




Community Treasure Hunt

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

Start Hunting!

Translated by