Jul 8, 2015 #1 Jebi Electrical Joined Jul 8, 2015 Messages 1 Location CA E=summation_x summation_y summation_z (v^2(x,y,z)). How to implement the above formula in MATLAB?
Jul 8, 2015 #2 IRstuff Aerospace Joined Jun 3, 2002 Messages 44,895 Location US Again, you should read the help files: http://www.mathworks.com/help/matlab/ref/sum.html?s_tid=srchtitle TTFN faq731-376 Need help writing a question or understanding a reply? forum1529 Of course I can. I can do anything. I can do absolutely anything. I'm an expert! There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx
Again, you should read the help files: http://www.mathworks.com/help/matlab/ref/sum.html?s_tid=srchtitle TTFN faq731-376 Need help writing a question or understanding a reply? forum1529 Of course I can. I can do anything. I can do absolutely anything. I'm an expert! There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx
Nov 26, 2015 #3 aap2 Automotive Joined Oct 20, 2015 Messages 92 Location US So, for summation x: Store numbers in x vector and then use sum(x).
Apr 11, 2016 #4 aap2 Automotive Joined Oct 20, 2015 Messages 92 Location US Then it would be v=sum(x)^2.