我开始学习Mathematica 9.我需要制作一个nx4矩阵“m”,其中第一列是矩阵“A”,第二,三,第四列是矩阵“B”。而且,我需要排除第一行。有谁能够帮助我?使用Mathematica中的数字范围排列矩阵9
`t = 2; a = Range[0, t]; b = Range[0, t]; c = Range[0, t];
{A = MatrixForm[
1/Sqrt[Flatten[
Table[a^2 + b^2 + c^2, {a, 0, t, 1}, {b, 0, t, 1}, {c, 0, t,
1}]]]],
B = MatrixForm[Tuples[{a, b, c}]]}`
我需要的是这样的:
List[List[0, 0, 1, 1], List[0, 0, 2, Rational[1, 4]],
List[0, 1, 0, 1], List[0, 1, 1, Rational[1, 2]],
List[0, 1, 2, Rational[1, 5]], List[0, 2, 0, Rational[1, 4]],
List[0, 2, 1, Rational[1, 5]], List[0, 2, 2, \[Placeholder]],
List[1, 0, 0, \[Placeholder]], List[1, 0, 1, \[Placeholder]],
List[1, 0, 2, \[Placeholder]], List[1, 1, 0, \[Placeholder]],
List[1, 1, 1, \[Placeholder]], List[1, 1, 2, \[Placeholder]],
List[1, 2, 0, \[Placeholder]], List[1, 2, 1, \[Placeholder]],
List[1, 2, 2, \[Placeholder]], List[2, 0, 0, \[Placeholder]],
List[2, 0, 1, \[Placeholder]], List[2, 0, 2, \[Placeholder]],
List[2, 1, 0, \[Placeholder]], List[2, 1, 1, \[Placeholder]],
List[2, 1, 2, \[Placeholder]], List[2, 2, 0, \[Placeholder]],
List[2, 2, 1, \[Placeholder]], List[2, 2, 2, \[Placeholder]]]
这就是我想在数学made in MathCad
非常感谢! – user2134418 2013-03-05 11:02:42