How to create a vector of submultipliers?

I want to write some code so that, when I enter a number, I get a vector composed of his sub-multiplier:
example: x=10; vector= [1,2,5,10]
how do you program such a thing?

 Réponse acceptée

Plus de réponses (0)

Catégories

En savoir plus sur Aerospace Blockset dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by