#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

Answers (0)

This question is closed.

Asked:

on 12 Nov 2020

Closed:

on 12 Nov 2020

Community Treasure Hunt

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

Start Hunting!