已回答 How to get the values of f at different x
Try using the subs command to substitute values of x in your expression.
syms x
P(1)=x^0;
P(2)=x;
for n=1:d
P(n+2)=expa...
已回答 While Loop Question (Ungraded)
You have started with F as an array but use it in the while loop and if condition as a variable.
The solution to your problem ...