Which function provide this output?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone!
I need a function f(x), where x are positive integers, that provides the following output pattern:
x: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18...
f(x): 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6...
Thanks in advance!
3 comentarios
Basil C.
el 6 de Mzo. de 2021
I think you mean difference of remainder and target value @Walter Roberson
Respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!