Prev: bsxfun passes a row vector to the function - a bug or a feature?
Next: discount radii shoes louis vuitton women t shirts christian louboutin sandals chanel earrings
From: Markthomas on 25 Apr 2010 11:01 I have plotted about 144 different plots on a single plot and was wondering how I could create a correlation which includes the data from each of the plots. I believe that the data will fit a power regression but I don't know how i could combine all the data to create this single correlation. Thanks MT
From: dpb on 25 Apr 2010 14:51 Markthomas wrote: > I have plotted about 144 different plots on a single plot and was > wondering how I could create a correlation which includes the data from > each of the plots. I believe that the data will fit a power regression > but I don't know how i could combine all the data to create this single > correlation. How did you get the data to plot individually? Just go through and add them to an array -- hopefully you did this by reading from one or more files rather than 'poofing' 144 variable names; instead of either plotting each set of x,y values, keep on reading and appending to the same arrays to create a large one of all x,y pairs or an x and y array separately. If you've got all of them to plot you can add those up and find the total number of points and preallocate based on that total size and then just index as well to be a little more efficient than continuing to concatenate. --
From: Markthomas on 25 Apr 2010 16:33 dpb <none(a)non.net> wrote in message <hr2331$um9$1(a)news.eternal-september.org>... > Markthomas wrote: > > I have plotted about 144 different plots on a single plot and was > > wondering how I could create a correlation which includes the data from > > each of the plots. I believe that the data will fit a power regression > > but I don't know how i could combine all the data to create this single > > correlation. > > How did you get the data to plot individually? Just go through and add > them to an array -- hopefully you did this by reading from one or more > files rather than 'poofing' 144 variable names; instead of either > plotting each set of x,y values, keep on reading and appending to the > same arrays to create a large one of all x,y pairs or an x and y array > separately. If you've got all of them to plot you can add those up and > find the total number of points and preallocate based on that total size > and then just index as well to be a little more efficient than > continuing to concatenate. > > -- I read each of the values from all the files I have collected during my analysis... I was thinking of appending the data but was hoping there was a better way. Thanks MT
From: dpb on 25 Apr 2010 16:59
Markthomas wrote: .... > I read each of the values from all the files I have collected during my > analysis... I was thinking of appending the data but was hoping there > was a better way. Thanks What would be better? ML to somehow predetermine what you wish it to do??? wry-:) -- |