@(x)x*[1:10] ans(20)
Standard input is empty
ans = @(x) x * [1:10] ans = 20 40 60 80 100 120 140 160 180 200
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!