How to use the Sum function in this instance
Show older comments
Hello, Ive been writing code for one of my modules and came across a formula that I dont understand how to put it in matlab, it is this equation below:

My problem is that I dont understand how to use the sum function in this instance
4 Comments
John D'Errico
on 8 Feb 2023
Is x known? Is z known? Is Ar known? What are they? Are they variables, constants? Symbolic? What?
Is the sum taken as 5:1:85? I find it strange that the sum does not go all the way down to 0 or up to 90, since this is clearly an angle, represented in degrees.
It is easer to help you if you tell us enough to know what form are the variables in that expression.
Ahmed Alzaabi
on 8 Feb 2023
Torsten
on 8 Feb 2023
Are you sure you included the correct code ?
And you didn't tell us about x and z.
So far I can see that if a = 0 as in your code, d_eps_alpha will also be 0.
Ahmed Alzaabi
on 8 Feb 2023
Accepted Answer
More Answers (1)
Categories
Find more on Guidance, Navigation, and Control (GNC) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!