Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: control system
Date: Wed, 11 Sep 2013 15:20:15 +0000 (UTC)
Organization: National Institute of Technology Calicut
Lines: 37
Message-ID: <l0q1nf$amc$1@newscl01ah.mathworks.com>
References: <l0koal$ql6$1@newscl01ah.mathworks.com> <l0mfv5$9g9$1@speranza.aioe.org> <l0n9fi$bs7$1@newscl01ah.mathworks.com> <l0nlbl$ps2$1@speranza.aioe.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: rubyext-03-ls.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1378912815 10956 172.20.102.179 (11 Sep 2013 15:20:15 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 11 Sep 2013 15:20:15 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4566741
Xref: news.mathworks.com comp.soft-sys.matlab:802226

"Nasser M. Abbasi" wrote in message <l0nlbl$ps2$1@speranza.aioe.org>...
> On 9/10/2013 9:14 AM, ROHIT MISHRA wrote:
> > "Nasser M. Abbasi" wrote in message <l0mfv5$9g9$1@speranza.aioe.org>...
> >> On 9/9/2013 10:09 AM, ROHIT MISHRA wrote:
> >>> A=[0 1;2 3] ,B=[0 ; 1] and initial condition is x0=[1;0]
> >>> how to find the forced response of the above system  using the above matrix in state space analysis of control system.
> >>> plz tell me how to do this problem.
> >>>
> >>
> >> may be
> >>
> >> ----------------------------
> >> clear all
> >> A = [0 1;2 3]; B = [0 ; 1]; x0 = [1;0];
> >> sys = ss(A,B,[0 1],[]);
> >> initial(sys,x0,16.4)
> >> ----------------------
> 
> 
> > i want value of X1(t) and x2(t) not the plot....your help was appreciated
> >
> 
> Then why not simply solve the differential equation?
> 
> You have the differential equation right there? You defined it.
> use ode45 if all what you want is the solution.
> 
> I have not played with control systems for sometime. Did you
> try to read the documentation to find if there is away to
> find x(t) direclty from state space?
> 
> --Nasser




> i hav solved the problem by solving the entire equation of x(t) which involves integral and non integral terms.since the length of the solution became huge so i was trying to find a shorter way...i hav seen the ode45 command but didnt used it ...i will definitely try to solve the state equation using it...thanks 4 d help.......................ROHIT