DaGu

15 Reputation

One Badge

12 years, 106 days

MaplePrimes Activity


These are replies submitted by DaGu

sorting done :) found the sort command :) but still have a problem with my "mean/average"

My intsR looks like

IntsR;
[......,[137.53, 510.0], [137.28, 460.0], [137.03, 511.0], [136.80, 475.0], [136.56, 519.0], [136.34, 496.0], [136.12, 486.0], [135.91, 504.0], [135.71, 469.0], [135.52, 486.0], [135.33, 548.0], [135.15, 462.0], [134.97, 559.0], [134.81, 471.0], [134.64, 515.0], [134.50, 455.0], [134.35, 499.0], [134.21, 506.0], [134.08, 483.0], [133.96, 486.0], [133.85, 485.0], [133.74, 526.0], [133.63, 483.0], [133.54, 574.0], [133.45, 531.0], [133.38, 560.0], [133.30, 481.0], [133.24, 514.0], [133.18, 451.0], [133.14, 537.0], [133.09, 528.0], [133.06, 547.0], [133.03, 487.0], [133.02, 484.0], [133.00, 505.0], [133., 497.0], [133.00, 513.0], [133.02, 448.0], [133.03, 505.0], [133.06, 521.0], [133.09, 542.0], [133.14, 498.0], [133.18, 496.0], [133.24, 518.0], [133.30, 488.0], [133.38, 484.0], [133.45, 517.0], [133.54, 528.0], [133.63, 474.0], [133.74, 432.0], [133.85, 476.0], [133.96, 498.0], [134.08, 531.0], [134.21, 533.0], [134.35, 522.0], [134.50, 477.0], [134.64, 515.0], [134.81, 465.0], [134.97, 509.0], [135.15, 503.0], [135.33, 489.0], [135.52, 499.0], [135.71, 495.0], [135.91, 491.0], [136.12, 489.0], [136.34, 503.0], [136.56, 468.0], [136.80, 496.0], [137.03, 408.0], [137.28, 481.0], [137.53, 475.0],......]

and plot(IntsR)

Thanks a lot :) but if iam not totaly wrong i do get the average of the complete matrix + r value right ?

To make it a bit more clear what i do need:

My list´s elements are like :

IntsR[1]=[3, 4], IntsR[2]=[5, 2], IntsR[3]=[4, 3], IntsR[5]=[5, 2], IntsR[5]=[3, 2], IntsR[6]=[5, 3],  IntsR[6]=[4, 2], IntsR[7]=[3,3]

and i would need a new list with [3, (4+2+3)/2], [4,(3+2)/2], [5, (2+2+3)/3] -->[3,3], [4, 2.5], [5, 2.33]

hum well i got 1116x3 Data points:) Should be a bit "long".

So  1116 x values, 1116 y values and 1116z values.  What i'am thinking about is to detmine the highest x and y value in my list multiply it by 100 ( so i have like 1220 instead of 12.20) after have done that, i could create a matrix with "highest x value *100" columms and "highest y value*100" rows and then that i could sort my z value into that matrix (do i have to write a 0 everywhere i dont got a value?)

But somehow it feels like a "hard" workaround for something simple :/

hum well i got 1116x3 Data points:) Should be a bit "long".

So  1116 x values, 1116 y values and 1116z values.  What i'am thinking about is to detmine the highest x and y value in my list multiply it by 100 ( so i have like 1220 instead of 12.20) after have done that, i could create a matrix with "highest x value *100" columms and "highest y value*100" rows and then that i could sort my z value into that matrix (do i have to write a 0 everywhere i dont got a value?)

But somehow it feels like a "hard" workaround for something simple :/

Thanks alost. But still it doesnt work like i want it to do.

Here is the result i get atm:resultaand a shot set of entries in "l"

 

Thanks alost. But still it doesnt work like i want it to do.

Here is the result i get atm:resultaand a shot set of entries in "l"

 

Page 1 of 1