#Homework #help

write a matlab function ( one function) to do all the following: the function name is sumyourname 1- add all numbers from 3 to 1001 save the result in Sum display the resultadd all odd numbers from 3 to 1001 save the result in sumodd display the resultadd all even numbers from 3 to 1001 save the result in summeven display the resultwhich is bigger summodd or summeven display the result summeven is bigger or sumodd is bigger

回答(0 个)

此问题已关闭。

关闭:

2020-11-12

Community Treasure Hunt

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

Start Hunting!

Translated by