Help with lower/upper limit and step problem

I need some help on how to do this problem (I'm fairly new to MatLab and don't quite know where to start)
Write a program that accepts three parameters “lower_limit”, “upper_limit” and “step”. The program should display all the numbers between “lower_limit” and “upper_limit” that are evenly divisible by “step”.
What kind of function is this?

답변 (1개)

Matt Kindig
Matt Kindig 2012년 3월 12일

0 개 추천

To get you started,
doc colon
doc mod

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

질문:

2012년 3월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by