大家好~
我是MATLAB初学者,
目前程式的流程是:
clc
clear
A1=[434.911,39.58,45.265];
A2=[457.32,37.686,44.467];
A12=(A1+A2)/2;
A1A2=A2-A1
syms a b c
A=[a b c]
AA12=A12-A
结果输出变成
A1A2 =
22.4090 -1.8940 -0.7980
A =
[ a, b, c]
AA12 =
[ 3924073436648833/8796093022208 - a, 38633/1000 - b, 22433/500 - c]
A1A2是正常向量,但是AA12就变成分数了,
请问为什么会这样呢?
谢谢!