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 at 12:14

Yaroslav submitted Solution 712474 to Problem 42471. Make a full wave rectifier

on 9 Aug 2015 at 6:26

Yaroslav submitted Solution 712473 to Problem 42470. Make a half wave rectifier

on 9 Aug 2015 at 6:23

Yaroslav submitted Solution 712082 to Problem 42473. Produce a Fibonacci sequence

on 7 Aug 2015 at 21:57

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 at 19:52

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

on 7 Aug 2015 at 19:46

Yaroslav submitted Solution 712044 to Problem 42472. Counting pulses in a signal

on 7 Aug 2015 at 18:53

Yaroslav submitted Solution 712038 to Problem 42474. Model a mass spring system

on 7 Aug 2015 at 18:19

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

on 7 Aug 2015 at 18:17

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

on 7 Aug 2015 at 18:15

Yaroslav submitted Solution 711983 to Problem 42471. Make a full wave rectifier

on 7 Aug 2015 at 15:45

Yaroslav submitted Solution 711979 to Problem 42470. Make a half wave rectifier

on 7 Aug 2015 at 15:38

Yaroslav submitted Solution 711809 to Problem 42465. Connect blocks in a model

on 7 Aug 2015 at 12:07

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