1、format long
>> A = [1 2;1 4];
>> format long
>> eig(A)
ans =
0.267949192431123
3.732050807568877
2、vpa函数
b =
0.2679
3.7321
>> vpa(b,10)
ans =
0.2679491924
3.732050808
未完待续!!
>> A = [1 2;1 4];
>> format long
>> eig(A)
ans =
0.267949192431123
3.732050807568877
b =
0.2679
3.7321
>> vpa(b,10)
ans =
0.2679491924
3.732050808
未完待续!!