329 reputation
18
bio website
location
age
visits member for 1 year, 5 months
seen Aug 7 at 11:19

I am very interested in programming (C/C++) and development, but I still have very much to learn. Feel free to contact me, if you have any tips for me.


Aug
7
accepted Converting format of list
Aug
5
accepted Merging lists and adding common elements
Aug
5
comment Merging lists and adding common elements
@Öskå Do you know how? :)
Aug
5
comment Merging lists and adding common elements
@Öskå Is it possible to fix this?
Aug
5
comment Merging lists and adding common elements
@Öskå Please see updated OP. One array I generate from an extenral file (upload link provided), the second array I generate using shown code.
Aug
5
revised Merging lists and adding common elements
added 1039 characters in body
Aug
5
comment Merging lists and adding common elements
When I import the data set from external files they are not added, when I write the arrays in explicitly they are added (?!). Odd.
Aug
5
comment Merging lists and adding common elements
@belisarius It works now, but 0.17 and 0.18 are not added, just like in the other answer. When I import the data set from external files they are not added, when I write the arrays in explicitly they are added (?!)
Aug
5
comment Merging lists and adding common elements
It's at 0.17 and 0.18, I see it in both the plot and the data
Aug
5
comment Merging lists and adding common elements
But if I use ListLinePlot on the array, I can see that there are multiple values. But if I show the array using MatrixForm, then I can see there aren't multiple values?!
Aug
5
comment Merging lists and adding common elements
When I try this method with the two arrays in the OP, the points around 0.15 are not added
Aug
5
revised Merging lists and adding common elements
added 1836 characters in body
Aug
5
comment Merging lists and adding common elements
@belisarius It doesn't work with my data set, I pasted the two arrays in the OP
Aug
5
comment Merging lists and adding common elements
Sorry, you are right. Also works for non-equal lengths
Aug
5
comment Merging lists and adding common elements
Thanls, but this only works if the arrays are of the same size
Aug
5
revised Merging lists and adding common elements
added 83 characters in body
Aug
5
comment Merging lists and adding common elements
This only works if the arrays are of the same size
Aug
5
asked Merging lists and adding common elements
Aug
5
comment Converting format of list
Added the semicolon myself by stringjoin
Aug
5
comment Converting format of list
I need the data for C, so there has a be a semicolon. Otherwise I have to add it manually, but its a large data set.