# MATLAB: How to input multiple items given a prompt

inputprompt

So far I only have worked with prompts giving one numerical response. (For example, input number: 10). That's it. Right now, I want to work with multiple inputs in a prompt, store them, and use them later. For example:
Enter your favourite numbers: 10, 25, 34 (maybe more than this, or even less than this).
Please let me know how to do this.
Thanks

>> input('?')?[2, pi, sqrt(10)]ans =  2.0000    3.1416    3.1623>>