1
我刚开始使用钨数学。
我有两个文件号:进口创建表两个文件
x=Import["c"\.path here..\x.txt","Table"];
y=Import["c"\.path here..\y.txt","Table"];
现在我有两个表x和y。我希望再结合有一个表
{{x1, y1}, {x2, y2}, {x3, y3}, {x4, y4}}
那我可以用它来建立使用ListPlot
的图形。 我试过用这样的东西
num={};
l1=length[x]; l2=length[y];
Do[num=Append[num,Partition[x[[i]],1]],Append[num,Partition[y[[i]],1]],{i,l1}]
所以我该怎么做?
甚至更短的'移调[{X,Y}]' – agentp