I have this problem:
Edit : Sorry there is a big typo, if you spot my another typo please tell me.
n=input('the number of column for row vector= ')
y=input('input your function of variable x only= ');
disp('your new matrix is= ')
For example if i input
Hopefully, it will display something like
your new matrix is =
1 4 9
I'm squaring for each b.
But when i'm trying this, shamefully this only shows 9 only. 1 and 4 are missing.
very kind of you if you want to help me.
Thanks in advance.