大家好~
我是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就變成分數了,
請問為什麼會這樣呢?
謝謝!