MATLAB: How to put the results in Matrix form?(Easy question.)

put results in matrix form

t x y
0 0 0
0.1 0.2994 0.8057
0.2 0.7725 1.4753
0.3 1.4192 2.0088
0.4 2.2 2.3795
0.5 2.9867 2.4999
0.6 3.7695 2.3634
0.7 4.5396 1.9774
0.8 5.1853 1.4398
0.9 5.6721 0.7807
1 6 0
For example t=0 then (P is function) P=0 0 , t=0.1 then P=0.2994 0.8057 , it goes on like that. But I don't want to input t each time manualy. I'm triying for loop but it didn't work.
I want to obtain matrix of P,
0 0
0.2994 0.8057
0.7725 1.4753
1.4192 2.0088
2.2 2.3795
2.9867 2.4999
3.7695 2.3634
4.5396 1.9774
5.1853 1.4398
5.6721 0.7807
6 0
my input will be t;
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Thanks and respect.

Best Answer

Okay guys! I did it truly. Thanks in any case.