To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
lukus09
Getting settled in
lukus09
6 Posts

why am i not getting same matlab results when doing manually?

i want to find rise time, peak time, maximum overshoot and settling time to 2% of the final value for 12/ s^2 + 5s +11 manually.

however when i calcualte the results manually they are different to the matlab results. I know the equations are correct becuase i got them off a book, and have thorughly gone through each equation again to ensure it is correct. Im only getting the maximum overshoot value correct. The rise time and settling time are quite close to matlab results but not exact as they should be because i am rounding to 5 DP!!!
mertesn
Icrontic Duke of Haxor
mertesn
353 Posts

» Subscriber

Based on what I'm seeing here (and I have no matlab experience) I would suggest some parentheses. I am assuming your formula would look like this on paper:

12
--------------
s^2 + 5s + 11

What you have written would be interpreted by the computer like this:
(12 / s^2) + 5s + 11.

What you want would look more like this:
12 / (s^2 + 5s + 11)

Hope this helps.
lukus09
Getting settled in
lukus09
6 Posts
sorry its 11 not 12.
but matlab interprets it as a transfe function so it reads it as 12 / s^2 + 5s + 12.

Based on what I'm seeing here (and I have no matlab experience) I would suggest some parentheses. I am assuming your formula would look like this on paper:

12
--------------
s^2 + 5s + 11

What you have written would be interpreted by the computer like this:
(12 / s^2) + 5s + 11.

What you want would look more like this:
12 / (s^2 + 5s + 11)

Hope this helps.
shwaip
elaborate bot
shwaip
5,732 Posts
post your code or we have no idea what you're doing wrong.
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
Similar Threads
Thread Thread Starter Forum Replies Last Post
Network set up wizard failure. how to manually? IPT Networking & Security 11 7 Nov 2006 1:36pm
Can you manually ask for different WU's? TheLostSwede Folding@Home 8 17 Sep 2006 2:53am
Manually set 169 address's? RWB Networking & Security 3 16 May 2006 12:42am
slipstreamed sp2 manually borz Operating Systems 4 13 May 2005 8:26pm
Manually crash Windows XP SM-Bot Technology Articles 8 18 Mar 2004 4:19am

Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 3:39am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.