![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169111/image.png)
Hello, I found this model of the double pendulum on the internet.I want to get a nonlinear spring(cubic) behaviour from the second revolute joint which is not available with the intrinsic options. I am trying to attach a nonlinear spring externally but it is showing red dotted lines.The green block is the nonlinear spring that I am trying to connect to the solid block. Help is appreciated.
Best Answer