REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Vector output from TRND?

    REXYGEN Studio
    1
    3
    363
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stepan.ozana
      last edited by

      Hi, is it possible to obtain the entire vector of values from TRND? I'd like to perform Moving horizon estimation (MHE) algorithm which uses a history of past measurements over some period of time. It is like receeding horizon - each sampling period the data consisiting of N last samples will be used for further processing by REXLANG or PYTHON blocks. First I thought of setting of ptype parameter of TRND to turn its output into vector form but it seems that none of the options match my needs.

      S 1 Reply Last reply Reply Quote 0
      • S
        stepan.ozana @stepan.ozana
        last edited by stepan.ozana

        I realized that shift register could solve this. For lower number of samples, one or more SHIFTOCT blocks may be used. I will try storing data to buffer via REXLANG for higher number of samples.

        S 1 Reply Last reply Reply Quote 0
        • S
          stepan.ozana @stepan.ozana
          last edited by

          Or, possibly N DEL blocks may also do the job.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

          There is also an outdated REXYGEN community forum.

          Powered by NodeBB.