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.

Evaluating output using input value and transfer function

Status
Not open for further replies.

lucy123

Junior Member level 2
Joined
Mar 17, 2011
Messages
20
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,401
Hi all,

I have used matlab to fit frequency data to a transfer function. The result is a rather complex transfer function shown below. The best fit value is 96%. Can you please guide me on how I can calcuate the output in the frequency domain given a single input value?

Thank you

0.1966 (+/- 7.971e08) s^6 + 3.751e04 (+/- 3.237e10) s^5+ 0.07548 (+/- 3.478e12) s^4+ 1.566e08 (+/- 1.471e14) s^3+ 251.6 (+/- 2.501e12) s^2- 9.345e09 ( +/- 2.047e12) s+ 29.2 (+/- 3.822e10)

-----------------------------

s^7 + 842 (+/- 3.926e08) s^6+ 2.307e05 (+/- 2.435e11) s^5+ 2.253e07 (+/- 8.408e12) s^4 + 7.164e08 (+/- 7.952e12) s^3+ 6.962e07 (+/- 1.986e11) s^2+ 2.212e09 (+/- 5.062e11) s+ 7.066 (+/- 2.519e10)
 

albbg

Advanced Member level 4
Joined
Nov 7, 2009
Messages
1,261
Helped
437
Reputation
874
Reaction score
392
Trophy points
1,363
Location
Italy
Activity points
9,523
You can replace "s" with "jw" to find the complex transfer function, then multiply it by the, in general, complex input value. "w" is the angular frequency
However I don't understand your notation. What you exactly mean with, for instance, 0.1966 (+/- 7.971e08) s^6 ?
 

lucy123

Junior Member level 2
Joined
Mar 17, 2011
Messages
20
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,401
This is the output I obtained in Matlab. I'll give it a try and I'll see what I'll obtain.

Thanks

- - - Updated - - -

It seems my tf is completly wrong or I am doing the wrong calculations? Why is the calculated output is complex when it should be real?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
50,248
Helped
14,530
Reputation
29,332
Reaction score
13,515
Trophy points
1,393
Location
Bochum, Germany
Activity points
288,490
Can you please explain what "fit frequency data to a transfer function" excatly means for you? What's given, in which form? What do you want to obtain?
 

lucy123

Junior Member level 2
Joined
Mar 17, 2011
Messages
20
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,401
so I have used ident in Matlab to obtain a transfer function between my input (real) and Output(real) of a system which is frequency dependent. That is for a particular frequency and an input I would like to calculate the output. I hope this makes it abit clearer.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top