while loop condition help

1 visualizzazione (ultimi 30 giorni)
Buti Al Falasi
Buti Al Falasi il 7 Apr 2020
Risposto: Srivardhan Gadila il 10 Apr 2020
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 Commenti
darova
darova il 7 Apr 2020
if you spend a bit of time on this you can handle it
haya Aldalama
haya Aldalama il 7 Apr 2020
What’s the answers for those questions

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by