Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Help needed for curve fitting,i need to plot a equation T=k*I^n in matlab

Status
Not open for further replies.

singh1

Newbie level 2
Newbie level 2
Joined
Jul 15, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi, I need to implement a equation for a dc motor in matlab. The eq is T=K*I^n . T is torque and I is current . I have a set of values as inputs for T and I, so, i need to find K and n at the output. Curve fitting has to be used for it.
I want the program code for it in matlab which could generate a curve and give K,n as the output.

Eagerly waiting for reply!!!
Thanks in anticipation!!!!
 

You can use Least mean square fitting algorithm

Search for LMS algorithm in matlab

also I think poly2fit is there in matlab toolbox which you can make use of

Thanks & Regards
M Kalyansrinivas
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top