Thread: Transfer function in C ? How to do it ?

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    1

    Question Transfer function in C ? How to do it ?

    Does anyone know how to implement a transfer function in C ? Or how do you get a time domain function, and get it into s-domain in C ? For instance lets say you have 3e^-t in time domain, and in s-domain its 3/(s+1). How to go from time domain to s-domain ?

  2. #2
    Registered User
    Join Date
    Jun 2009
    Posts
    486
    Taking a guess purely from context, I am guessing you are looking for something like this:

    Numerical Laplace Transforms and Inverse Transforms in C# - CodeProject

    First result on google. Should be pretty straightforward to translate to C.

    Now write some code, and post again when you have a coding problem that we can help with, and please put a bit more effort into your question asking.
    C is fun

  3. #3
    -bleh-
    Join Date
    Aug 2010
    Location
    somewhere in this universe
    Posts
    463
    maybe you want to look at the GSL library for numerical Laplace transform. To do it symbolically in C would be difficult.
    Last edited by nimitzhunter; 01-09-2011 at 08:52 PM.
    "All that we see or seem
    Is but a dream within a dream." - Poe

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  5. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM