0

对于这行代码,我无法可视化padright函数的作用?

results = Transpose[PadRight[{RMSL, MaxDevL, AreaofeachTorsoL, NormalxLp2, 
     NormalyLp2, NormalzLp2, TorsoLp, RMSLn, MaxDevLn, 
     AreaofeachTorsoLn, NormalxLn2, NormalyLn2, NormalzLn2, 
     TorsoLn}, {Colnu, Rownu2}, P]];

4

1 回答 1

0

您需要在 XXXXX 和 PPPPP 中加入 2 个号码,例如

XXXX = 16;PPP = 2; 结果=转置[PadRight [{RMSL,MaxDevL,AreaofeachTorsoL,NormalxLp2,NormalyLp2,NormalzLp2,TorsoLp,RMSLn,MaxDevLn,AreaofeachTorsoLn,NormalxLn2,NormalyLn2,NormalzLn2,TorsoLn},XXXXX,{Colnu,Rownu2},PPPP]]

于 2021-08-19T15:14:58.213 回答