question archive Make a function M-file, name it as myCounter

Make a function M-file, name it as myCounter

Subject:Computer SciencePrice: Bought3

Make a function M-file, name it as myCounter.m which uses three inputs, n3, n2, n1, from the list (2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). The program then counts out the numbers from 0 to (n3 n2 n1) on the screen. Example: imagine that the user has used the inputs: 2 for n3, 2 for n2, and 3 for n1. Then the program would print out a counter from 0 0 0 to 1 1 2 as follows:

0 0 0

0 0 1

0 0 2

0 1 0

0 1 1

0 1 2

1 0 0

1 0 1

1 0 2

1 1 0

1 1 1

1 1 2

could someone solve this using MATLAB or GNU(octave)

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions