Info
This question is closed. Reopen it to edit or answer.
I need to know how to express this equation in matlab code (Important!)
1 view (last 30 days)
Show older comments
Dear Matlab community,
I am working on an aeronautics project (writing code for the numerical lifting line method). Part of it involves calculating the following value called "dS_i":
As you see, I have to express the above equation as a matlab code so that matlab can internally calculate dS for each i value of 1 to N. In the above equation, every variable is previously entered by the user- I only need matlab to integrate the expression in the picture for a GENERAL i value, and then to take the derivative of that expression, and then calculate the derivative for values i=1:N.
I could just do it with my CAS calculator and type in the result directly- but the derivative turns out several lines long and it is just unfeasible to enter it with 100% certainty of not making a mistake.
SO, how do I then enter the two expresison in the picture directly into matlab, and let the script do all the work?
Thank you,
Danylo!
1 Comment
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!