The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Vector samples
Replies: 2   Last Post: Jul 18, 1996 11:41 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
S.G. Wood, Jr.

Posts: 3
Registered: 12/7/04
Vector samples
Posted: Jul 13, 1996 7:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm looking for a way to every Nth sample of a given sequence. For example,
given a vector x(t), I would lke to create another vector xn(t) that contains
every Nth value of x(t).

N = 3;
x(t) = [1, 2, 3, 4, 5, 6, 7, 8...];
xn(t) = [1, 4, 7,...];

I guess I could make an m-file to do this on my own...however I would prefer
not to reinvent the wheel. Any pointers will be appreciated.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.