Problems associated with derivative blocks in simulink
I encountered a problem with simulink derivative block when I was doing a simulation where third order derivatives of the input is required! However, I could not use three consecutive derivative blocks in simulink since I would get a huge number at t=0 resulted from numerical differentiation. This can be shown as follows
<</matlabcentral/answers/uploaded_files/40691/1.PNG>>
Instead of getting a smooth -cos(x) single I get
<</matlabcentral/answers/uploaded_files/40692/2.PNG>>
Is there a way to get rid of this problem?I encountered a problem with simulink derivative block when I was doing a simulation where third order derivatives of the input is required! However, I could not use three consecutive derivative blocks in simulink since I would get a huge number at t=0 resulted from numerical differentiation. This can be shown as follows
<</matlabcentral/answers/uploaded_files/40691/1.PNG>>
Instead of getting a smooth -cos(x) single I get
<</matlabcentral/answers/uploaded_files/40692/2.PNG>>
Is there a way to get rid of this problem? I encountered a problem with simulink derivative block when I was doing a simulation where third order derivatives of the input is required! However, I could not use three consecutive derivative blocks in simulink since I would get a huge number at t=0 resulted from numerical differentiation. This can be shown as follows
<</matlabcentral/answers/uploaded_files/40691/1.PNG>>
Instead of getting a smooth -cos(x) single I get
<</matlabcentral/answers/uploaded_files/40692/2.PNG>>
Is there a way to get rid of this problem? simulink, derivative blocks MATLAB Answers — New Questions