Help with lower/upper limit and step problem

3 次查看(过去 30 天)
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
To get you started,
doc colon
doc mod

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by