MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Yaroslav submitted a Comment to Solution 711049

Have you tried to to the same for your "Gain2" port? A simple check yields: >> 20.02 - 0.1/(0.5*0.01) - 0.01^2/(0.5*0.01) >> ans = -4.2674e-16. Perhaps this is what throws you out of tolerance.
Another thing I can recommend is trying with a different circuit. Nonetheless, I do agree with you that the tolerances ought to be looser. You may suggest it to Guy and Seth: http://blogs.mathworks.com/seth/2015/08/07/modeling-and-simulation-challenge-in-cody/

on 12 Aug 2015

Yaroslav submitted a Comment to Solution 711049

Go to Matlab and write:
>> format long;
>> 60/(2*pi)
ans =
9.549296585513721
That is the conversion constant of rpm to rad/sec. Using |format long| gives you the answer within Matlab's working precision.

on 7 Aug 2015

Yaroslav submitted Solution 712058 to Problem 42479. Compute the step response of a DC motor

on 7 Aug 2015

Yaroslav submitted Solution 712036 to Problem 42475. Add damping to a mass spring system

on 7 Aug 2015

Yaroslav submitted Solution 712035 to Problem 42475. Add damping to a mass spring system

on 7 Aug 2015

Yaroslav submitted Solution 678152 to Problem 2056. Is this number Munchhausen Narcissistic?

on 31 May 2015

Yaroslav submitted Solution 678107 to Problem 2593. Polite numbers. N-th polite number.

on 31 May 2015

Yaroslav submitted Solution 594403 to Problem 2319. Pandigital number n°1 (Inspired by Project Euler 32)

on 10 Mar 2015

Yaroslav submitted a Comment to Solution 245677

Thank you, @Yan_Orwat; I have repaired the solution.

on 8 May 2014