Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6820521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:26:04+00:00 2026-05-26T21:26:04+00:00

I am trying to understand the Simulink (continuous) transfer function. In the documentation for

  • 0

I am trying to understand the Simulink (continuous) transfer function. In the documentation for the transfer function block, it indicates that it has a direct feedthrough characteristic when the numerator and denominator have the same length.

The direct the feedthrough characteristic, according to the documentation, indicates that the output is controlled directly by the input (and not by state variables).

I do not understand how is it possible to implement a transfer function whose numerator and denominator have the same degree (greater than zero) without using state variables or previous input/output values to calculate the associated derivatives.


Background

Here is the line of thought that led me to this question:

I would like to implement a C++ code that represents a linear system with a transfer function. For this implementation I will use an input x(t) and calculate an output y(t). Let’s say that the transfer function of this system is G(s). I can the write it as Y(s) = G(s) * X(s).

Moreover, I’ll say that G(s) = numerator(s) / denominator(s), where numerator(s) is a polynomial of the laplace-domain variable s of degree M and whose coefficients are c_{M}, c_{M-1}, ..., c_{1}, ..., c_{0}. The denominator is another polynomial but of degree N and coefficients d_{N}, ..., d_{0}.

To solve this system, I rewrite it as denominator(s) * Y(s) = numerator(s) * X(s). Using Laplace transform properties and assuming that initial conditions are zero for all derivatives, I get

d_{N}*y^{N} + d_{N-1}*y^{N-1} + ... + d_{0}*y = c_{M}*x^{M} + c_{M-1}*x^{M-1} + ... + c_{0}*x

Where y^{k} is the k-derivative of y(t) and similarly for x.

I solve this equation with a numerical integrator (let’s say euler, for simplicity), which lets me calculate y and its derivatives using N-1 state variables. For the k-derivatives of x, I approximate it roughly using the last k+1 values of the input (e.g. x^{1} = (x(t2) - x(t1)) / (t2-t1).

In brief, I need keep track of N-1 state variables for Y and M+1 previous values of x. I then remembered that simulink does this without any previous value when M==N. How can this be possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:26:05+00:00Added an answer on May 26, 2026 at 9:26 pm

    In the case that the denominator and numerator have the same size, the output will depend on the input values, but it will also depend on the values of the states. So the block will have direct feedthrough, but it also needs N – 1 states where N is the length of the denominator.

    See this wiki article for an example of a transfer function where the output is directly dependent on the input (and also the states).

    I took a look at the documentation you pointed to, and I agree that it is confusing. It seems to indicate that the output is either only dependent on the states, or only dependent on the inputs. In reality, the output can be dependent on a combination of inputs, states and parameters. Direct feedthrough only asks if the output is dependent on the input values, it doesn’t care if the otuput is also dependent on states.

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to understand how to link a function that is defined in a struct,
Just trying to understand that - I have never used it before. How is
I've been trying to understand how Ruby blocks work, and to do that I've
Trying to understand something that I don't know how to describe because I don't
I trying to understand this piece of code Function.prototype.method = function (name, fn) {
I am trying understand how multi queries work in mysqli. But I confess that
Trying to understand this open source app on github, it has a gem file:
Trying to understand the relationship between UIView and CALayer. I read Apple documentation but
I am trying understand why the .wrap() function in my basic table of contents
Trying to understand the Android framework model. I have an application that needs to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.