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.

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 9 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by