Limit angle in [-90, 90] degree
Mostra commenti meno recenti
As I was using ode45 to solve ODEs, I do not know to limit the result in [-90,90] degree. Anyone may provide some help?
4 Commenti
Stephen23
il 2 Mag 2022
In case anyone was wondering about the text: https://en.wikipedia.org/wiki/Halfwidth_and_Fullwidth_Forms_(Unicode_block)
Walter Roberson
il 2 Mag 2022
What should happen if the angle would go outside that range?
Star Strider
il 3 Mag 2022
I have no idea what the code is, however using 90 times the tanh function could be one way of limiting the angle. This has the advatage of being differentiable rather than using a stepwise limit that would not be differentiable.
DGM
il 6 Giu 2024
For sake of searchability, I fixed the title. The body text remains as a curiosity for sake of Stephen's link, which is a very appreciated little tangent.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB Parallel Server in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!