Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'easy question:force a certain length by ading d...' topicStudent Support Forum > General > Archives > "easy question:force a certain length by ading d..."

Next Comment >Help | Reply To Topic
Author Comment/Response
lillydogy
10/27/11 6:43pm

how do I do this?

I want a function that forces a certain length by adding data

I want this data set to be length ten, so it adds data on the end copying the last data point. I want to set my own size limit of course, for example I could choose length 11 or 12 if i wanted.

input: {1,3,4,3,5,4}

output: {1,3,4,3,5,4,4,4,4,4}

URL: ,

Subject (listing for 'easy question:force a certain length by ading d...')
Author Date Posted
easy question:force a certain length by ading d... lillydogy 10/27/11 6:43pm
Re: easy question:force a certain length by adi... Peter Pein 10/30/11 04:29am
Next Comment >Help | Reply To Topic