while loop condition help

1 次查看(过去 30 天)
Buti Al Falasi
Buti Al Falasi 2020-4-7
Create a variable, A =64 and use While-loop to do the following:
i. Calculate how many numbers between 0 and A are divisible by 3.
ii. Save all the numbers divisible by 3 in a vector called B.
iii. Change the value of A to 100 and repeat the previous 2 steps.
Thos is a homework that i have and i can't even begin to understand how to write the conditions for this loop
  10 个评论
darova
darova 2020-4-7
if you spend a bit of time on this you can handle it
haya Aldalama
haya Aldalama 2020-4-7
What’s the answers for those questions

请先登录,再进行评论。

回答(1 个)

Srivardhan Gadila
Srivardhan Gadila 2020-4-10
Learn the essentials of MATLAB through MATLAB Onramp, two-hour introductory tutorial on commonly used features and workflows.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by