Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

help needed in matlab

Status
Not open for further replies.

sugarmeaowl

Member level 1
Joined
Nov 13, 2009
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,552
matlab information required please help
hiya
I'am using discrete Linear quadratic regulator equation to calculate the performance function of my system. the system is given by
xk = Ax(k-1) + Bu(k)
with the performance index defined as
J= ∑ (X(k)' *Q* X(k) + U(k)' * R * U(k))
(upper limit for summation is suppose N and lower limit is k=0)

The terms inside the bracket are known . i know wat my X ,Q,R, U is. after solving the equation inside the bracket the term comes out to be 4 by 4 matrix. now how can i do the summation thing for my 4 by 4 matrix ?. i did symsum (J) but its givin error as
'' Undefined function or method 'sysum' for input
arguments of type 'double''

if some one can please help me out in solving my problem step by step. any help will really b appreciated.
thank you
 

sugarmeaowl

Member level 1
Joined
Nov 13, 2009
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,552
Is there anyone who can help mee please?????? Iam in a desperate need of helpp please
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top