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: Stupid question ;)
Replies: 2   Last Post: May 9, 2013 8:12 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 5/8/13
Stupid question ;)
Posted: May 8, 2013 11:10 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a simple question but I did not manage to find the solution.
I am working on some block bootstrap resampling methods, and I need to take a vector x with some data and divide it into blocks and then resample these blocks.

Let me show you one on simple example

step 1 : I take x = [ 1:20 ]
step 2 : I created a matlab function that give me these blocks from x;
u =

1 4 7 10 13 16
2 5 8 11 14 17
3 6 9 12 15 18

step 3: I want now to create a vector or a matrix named B with

How to create B?

When I will have B, I will just create a lot of resamples with replacement of these blocks
for example X = [ B(1) B(1) B(6) B(4) B(3) B(1)]

Thank you so much in advance,

Date Subject Author
Read Stupid question ;)
Read Re: Stupid question ;)
Read Re: Stupid question ;)

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.