Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Lists_Converting Bracket Type Formats' topicStudent Support Forum > General > "Lists_Converting Bracket Type Formats"

Next Comment >Help | Reply To Topic
Author Comment/Response
Bill
09/10/08 01:58am

Subject: _Lists_Converting Bracket Type Formats


Hi:

I have a Mathematica list:

{{1.4247, 2.93176, 1.83712}, {1.32241, 3.2793, 2.05333}, {1.61161, 3.84244,
2.20193}, {2.9097, 3.98482, 1.82895}}

I need to convert this format to the following format for use in another software program:

[[1.4247, 2.93176, 1.83712], [1.32241, 3.2793, 2.05333], [1.61161, 3.84244,
2.20193], [2.9097, 3.98482, 1.82895]]

Can I get Mathematica to convert from the curley bracket style to the square brackets format? If so, how?


Thanks,

Bill

PS. The lists that I'll be working with will be much longer, so editing manually is too tedious and time consuming.

I'm using Mathematica 6.0.1 and Win XP on a PC.

URL: ,

Subject (listing for 'Lists_Converting Bracket Type Formats')
Author Date Posted
Lists_Converting Bracket Type Formats Bill 09/10/08 01:58am
Re: Lists_Converting Bracket Type Formats yehuda ben-s... 09/11/08 07:00am
Re: Re: Lists_Converting Bracket Type Formats Bill 09/11/08 4:59pm
Next Comment >Help | Reply To Topic