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":
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148633/image.png)
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!