Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I need to generate some data in a Table and then be able to do all kinds of matrix and other mathematical operations on them. Right now I am testing the commands but am unable to get them to work. My table has this extra parenthesis floating around which I'm not sure how to get rid of.

Code (Text):test = Table[{i^2, y /. Solve[2 y + i == 0]}, {i, 1, 10}]Code (Text):Out[8]={{1, {-(1/2)}}, {4, {-1}}, {9, {-(3/2)}}, {16, {-2}}, {25, {-(5/

2)}}, {36, {-3}}, {49, {-(7/2)}}, {64, {-4}}, {81, {-(9/

2)}}, {100, {-5}}}Code (Text):test2 = {{1/2, 0}, {0, 1/2}}

Now I am unable to multiply the two Matrices, Test 2x10 and Test2 2x2. I have triedand alsoCode (Text):test2.testand neither command works. Also, Test has this additional set of parenthesis around the entries in the second column, for example like this:Code (Text):test.test2. I would like to be able to get rid of them if possible.. though I'm not sure if that messes anything up.Code (Text):{1, {-(1/2)}}

Any help will be greatly appreciated. Thanks a lot,

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica Help with Table command and Matrix operations

Loading...

Similar Threads - Mathematica Help Table | Date |
---|---|

Mathetica function (help fix my equation please) | Mar 15, 2016 |

Undetermined gauges (Help in mathematica)() | Oct 27, 2014 |

Help with "Which[] in a For loop using Mathematica | Sep 12, 2014 |

New to mathematica, some basic help needed | May 10, 2014 |

MATHEMATICA: NDSolve, 2nd order ODE, Table of IC HELP! | Nov 17, 2010 |

**Physics Forums - The Fusion of Science and Community**