sum of squared elements in a matrix

16 次查看(过去 30 天)
I tried using the sumsqr to sum squares of each element in a matrix I don't think I understand the syntax. I tried putting the matrix I into the command sumsqr(I), but I got the answer "1.3056e+010" and I don't know how to interpret this answer.
  1 个评论
Mikhail
Mikhail 2014-11-11
This is exponential format. You can print your variable in "normal" format with fprintf

请先登录,再进行评论。

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-11-11
1.3056e+010 is 1.3056 * 10^10
  2 个评论
Brian
Brian 2014-11-20
After modifying my code, I have a different answer. 7.4407e+006 Is this 7.4407*10^6 ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by