版權聲明:本文爲博主原創文章,未經博主允許不得轉載。 https://blog.csdn.net/ttxzszxy/article/details/53081731
1.".*"的使用
a=sum(temp.*temp); %優於 a=sum(diag(temp*temp'));
eg. temp=[-1.33;-2.33;3.66]; 求temp中各元素的平方和。
2.