[Show all top banners]

Neural
Replies to this thread:

More by Neural
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 MATLAB: Parameter Estimation (help)
[VIEWED 6805 TIMES]
SAVE! for ease of future access.
Posted on 09-08-09 5:07 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Has anyone come across with the following:

I need to calculate parameters  a1, n1 ... a3, n3 of the following equation (linear, say):


a1, a2, a3 are coefficients;
n1, n2, n3 are exponential ones.


Y = X1 (a1 * V^{n1} + a2 * V^{n2} + a3 * V^{n3})

where Y, X1, and V are known values.

Will it be possible to do so in MATLAB?  if so, I would highly appreciate if you could let me know the procedure.

Else, any other approach will be warmly welcomed.

Thx in advance.

Last edited: 08-Sep-09 05:12 AM

 
Posted on 09-08-09 12:49 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Do "lookfor parameter".
Looks like something which should be done in matlab.
If you can linearize that equation and change into matrix form, that could be one way.


 
Posted on 09-08-09 1:04 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I think you need the Curve Fitting Toolbox, or may be try statistical model fitting in JMP or Minitab

 
Posted on 09-08-09 1:35 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Aiya!!!

This is a linear combination of exponential functions! I wonder if the fminsearch function will come in handy. I've never used it though.

You'll have to set up your function as follows:

Y = X1 (a1 * V^{n1} + a2 * V^{n2} + a3 * V^{n3})

Let P=Y./X1;

So now you'll have:

P=a1*V^{n1} + a2*V^{n2}+a3*V^{n3};

Beyond that, I can't say much.

If you could provide the scenario in which you're trying to estimate this, perhaps it would help?

 
Posted on 09-08-09 2:09 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

It would still be degenerate, I think.

More detail might help.

 
Posted on 09-08-09 6:44 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 


Yeap, I thought the same, f22.
Either CFT or system identification approach might work.

Is any one using Siemens PTI PSS/E tool for power systems dynamic simulation??

--

thx guys for your inputs.

 
Posted on 09-09-09 4:57 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Try least square. Here is a nonlinear solver

help lsqnonlin
 LSQNONLIN solves non-linear least squares problems.
    LSQNONLIN attempts to solve problems of the form:
    min  sum {FUN(X).^2}    where X and the values returned by FUN can be  
              x             vectors or matrices.

choose FUN = Y - X1 (a1 * V^{n1} + a2 * V^{n2} + a3 * V^{n3}) and put known constants Y, X1 and V. The x vectors would be [a1, a2, a3, n1, n2, n3]. It will find the least square i.e. FUN^2 for different possible of x. Minimum FUN^2 will be 0 so you will get Y = X1 (a1 * V^{n1} + a2 * V^ + {n2}a3 * V^{n3}) by changing a's and n's.

 
Posted on 09-09-09 9:12 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 
 
Posted on 09-18-09 8:07 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

.
Thx nepaliraja for the valuable info.  (sorry for the late response).

I used "polyfit" to calculate the coefficients and keeping it 3rd degree polynomial. Meanwhile,
this is working.

Cheers !

Happy Dashain to you all Sajha friends.

 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 90 days
Recommended Popular Threads Controvertial Threads
शीर्षक जे पनि हुन सक्छ।
NRN card pros and cons?
What are your first memories of when Nepal Television Began?
TPS Re-registration
TPS Re-registration case still pending ..
Basnet or Basnyat ??
nrn citizenship
Sajha has turned into MAGATs nest
Nas and The Bokas: Coming to a Night Club near you
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
3 most corrupt politicians in the world
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
if you are in USA illegally and ask for asylum it is legal
Travelling to Nepal - TPS AP- PASSPORT
Top 10 Anti-vaxxers Who Got Owned by COVID
निगुरो थाहा छ ??
ढ्याउ गर्दा दसैँको खसी गनाउच
Poonam pandey - death or suicide?
Doctors dying suddenly or unexpectedly since the rollout of COVID-19 vaccines
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
Nas and The Bokas: Coming to a Night Club near you
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters