错误在于,你错用了括号,不能使用中括号和大括号.
>> x=solve('300*1.08^(-3)+6*(1.08^(-1)+1.08^(-2)+1.08^(-3))-x=0','x');
>> x
x =
253.61225422953818015546410608139
错误在于,你错用了括号,不能使用中括号和大括号.
>> x=solve('300*1.08^(-3)+6*(1.08^(-1)+1.08^(-2)+1.08^(-3))-x=0','x');
>> x
x =
253.61225422953818015546410608139