|
Prev: class: not a known object type
Next: QRS Derection
From: Zuhaina Zakaria on 8 Feb 2005 06:32 I'm sorry using this forum for this purpose but I really need to get in touch with Bora. Below is my message for him. _________________________________________________________ Hi, Back in Aug last year you responded to my question posted in Matlab central forum regarding least square problem. I pasted below for your reference. I really appreciate if you can help me again.. ------------------(your respond earlier) One approach might be (when x+y+z = 1) [C1 C2 C3; a*1 a*1 a*1] [x y z] = [L ; a*1] And solve for (x,y,z) using \. And the value of "a" would let you adjust the weight on the equality constraint. Bora ---------------------- I found that if I use a=1, I will get x+y+z=1. However, if I have now only two constant as below: [C1 C2; a*1 a*1] [x y] = [L; a*1] and use a=1, I can't get x+y+z=1. I tried to use other values of a but is more like a trial and error approach. Do you think I need some kind of optimization here? I really hope you can help me. Thank you in advance. Best regards, Zuhaina Zakaria Power System Research Group Dept of Electronic and Electrical Engineering University of Strathclyde Glasgow G1 1XW Tel: 0141 5482638
|
Pages: 1 Prev: class: not a known object type Next: QRS Derection |