Can you please help me.
Ältere Kommentare anzeigen
Write a function that takes a vector as input and returns the sum of every other value in the vector, starting with the first value. Name your function whatever you like
1 Kommentar
DGM
am 29 Mär. 2021
That's not a question. Do you have a question about your attempts to implement such a function?
Hint: 1:2:length(vector)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!