矩阵与变量得到的矩阵​存在小幅度差异?是计​算错误吗?

如题:
a = [5.1 2.1 7.4;3.7 7.7 1.64];
h = 5;
ww = h*a*(a');
yy = a*a'*h;
aa = max(max(ww-yy));
aa= 2.842170943040401e-14

Risposte (0)

Categorie

Richiesto:

il 19 Mag 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!