Info

此问题已关闭。 请重新打开它进行编辑或回答。

Hlep change the program .As easy and automatic.

1 次查看(过去 30 天)
i=1;
while (100-2^i>0)
i=i+1;
end
k=i-1
e1=100-2^k
while (e1-2^k<0)
k=k-1;
end
k1=k
e2=e1-2^k1
while(e2-2^k1<0)
k1=k1-1;
end
k2=k1
e3=e2-2^k2
  1 个评论
the cyclist
the cyclist 2015-7-16
Please explain the problem with the code. Are you getting an error? Are you getting an unexpected result? Does this code run too slowly for your purpose?
You need to help explain all this to us, if you want us to help you.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by