Re: Array reference help please
- To: mathgroup at smc.vnet.net
- Subject: [mg73310] Re: [mg73295] Array reference help please
- From: "W. Craig Carter" <ccarter at mit.edu>
- Date: Sun, 11 Feb 2007 01:15:01 -0500 (EST)
- References: <200702100441.XAA08004@smc.vnet.net>
Looking better is fairly subjective! For readability, I prefer the looks of this: {datax,datay} = Transpose[data =Table[Random[],{40},{2}]] li = Length[datax] Plot[ Evaluate[ Sum[datax[[i]], etc... over this Plot[ Evaluate[ Sum[data[[i,1]] etc > > (* first parameter is pulse amplitude, second is time of > occurrence - later to follow Poisson *) > > data=Table[Random[],{40},{2}]; > > li=Length[data]; > > Plot[Sum[ > Part[data[[i]],1] UnitStep[t-Part[data[[i]],2]] > Exp[-=CE=B1 (t-Part[data[[i]],2])], {i,li} > ] > ,{t,0,1}] > >
- References:
- Array reference help please
- From: rob <robIV@piovere.com>
- Array reference help please