16,751 reputation
22369
bio website
location Sweden
age
visits member for 3 years
seen 2 mins ago

Engineering physics student.


8h
awarded  Enlightened
9h
comment Opposite of StringSplit
@William ...if you want it to work like your Javascript example you can use StringSplit[" a b c ", " ", All].
9h
comment Opposite of StringSplit
@William StringSplit[" a b c "," "] is just {"a", "b", "c"} so information is lost. There is no way you could know if there were a leading or ending space in the original string. This is the closest to an inverse that you can come. In Javascript that information is preserved by split.
12h
comment Opposite of StringSplit
@alancalvitti Turns out WRI has fixed this in 10.1, see Murta's answer.
13h
awarded  Nice Answer
15h
comment Opposite of StringSplit
@bills yep, that was a close one!
15h
answered Opposite of StringSplit
1d
comment Deseasonalize the data of traffic growth for the past data
What is stagionalization?
1d
comment Export a 3D array (with time) from matlab to mathematica
You can export your data as a .mat file and then import it into Mathematica using Import.
2d
comment How to list plot data where the slope determines if it is plotted from a list of data?
@Tyediedhair Please consider upvoting the answer and accepting it. This is a friendly reminder since I see that you are new here.
2d
accepted Extract information from HTML using CSS selectors?
2d
answered Selective data append to nested list
2d
answered How to list plot data where the slope determines if it is plotted from a list of data?
2d
comment WeatherData: Time zone conversion
@seegii I think you did it right. But note that you are trying to retrieve data from 1956 and forward, but it seems like Mathematica doesn't have any data from "WMO44210" from before 2007.
Mar
25
comment Can Mathematica delete some of the 0's from a list?
+1, LengthWhile can be used here as well.
Mar
24
comment Can Mathematica delete some of the 0's from a list?
What if there are negative values interspersed to the right of the last positive integer? (My answer made some assumptions about the data that I think are reasonable, so I did not address this myself.)
Mar
24
answered Can Mathematica delete some of the 0's from a list?
Mar
24
comment How to input an adjacency list?
@DavidSimka If you don't already the data written down in some format, you should start by looking at the functions that you might want to work with an see what format is most suitable. Start to look at the graph functionality and see what format is used in the different examples.
Mar
24
comment How to input an adjacency list?
In what format is your input data?
Mar
24
revised selection based on values of other list
added 922 characters in body