Info
此问题已关闭。 请重新打开它进行编辑或回答。
I need to know how to express this equation in matlab code (Important!)
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!