Can I write a loop statement using randi?

Write a program that generates a vector with 30 random integers between
–20 and 20 and then finds the sum of all the elements that are divisible by 3.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 9 Mai 2020

Geschlossen:

am 9 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by