Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I need to know how to express this equation in matlab code (Important!)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!