Help with lower/upper limit and step problem

3 ビュー (過去 30 日間)
OngoingKestrel
OngoingKestrel 2012 年 3 月 12 日
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 Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by