1. Engineering
  2. Mechanical Engineering
  3. using only command rem matlab...

Question: using only command rem matlab...

Question details

2. Wnk a Proam ha regest a pe n as p and then Alous tis procesdure f the mber is even, dkide it by 2. L not, mltiphembe by 3 and then add t. Repaat ts poces wth thesulin umber and comive repeahng un the 1 tler he display Jheumber of ilerahons regvined to reach the resuling number a ts reached s reached, he program should umber 1 twhen the Program requerts input +shouli check that the user inpu b a posihe ile er grader than 4.Tfnd an eror message &hould he geecled.

using only command rem (MATLAB)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution