write a script to find the sum of an array of numbers of the form 2n-10, n = 1,2,…, 10.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Using the programming language and Matlab syntax, write a script to find the sum of an array of numbers of the form 2n-10, n = 1,2,…, 10.
Antworten (1)
Dhruv G
am 22 Jun. 2021
Think about how the ':' is used when defining an array within parantheses or in square brackets. Think about how multiplying an array with a scalar works, and look at how the sum() function in matlab works.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!