怎么判定按照两种算法进行编码呢。

1 次查看(过去 30 天)
tnwyed
tnwyed 2023-5-21
回答: ykbdxma 2023-5-21
28200我写出来,但遇到28400和28900这种,就不会判定,有没有大佬帮帮我呜呜

采纳的回答

ykbdxma
ykbdxma 2023-5-21
对1000的余数 是 0 100 200 800 900 用第一种
否则用第二种。
28400=57*500-100
010 0110 110
28900=29*1000-100
010 0010 011

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!