MATLAB: Sygma notation for equation

MATLAB

Hello everyone
I am trying to compute a sigma summation of a simple row vectors, where:
i= 0:10:200
sin= 0:0.1:1;
sout=inv(D*LTL+ID)*D*LTt
and I need to solve E from :
help is hugely appreciated. Many thanks

Best Answer

  • Hi,
    Maybe you can check out sumsqr() which is a function that lets you find the sum of the squared vales of a matrix.
    You can find it's documentation here. [https://www.mathworks.com/help/deeplearning/ref/sumsqr.html]
    Just pass (sout - sin) to this and I think it should work.
    Hope this helps.
    Cheers.