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 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