小编Bor*_*ris的帖子

将代码从matlab移植到python

我想在python中翻译这个matlab代码

例如随机文件:

FileA= rand([10,2])
FileB= randperm(10)

for i=1:10
fileC(FileB(i),1)=FileA(i,1); %for the x
fileC(FileB(i),2)=FileA(i,2); %for the y
end
Run Code Online (Sandbox Code Playgroud)

有人可以给我一些帮助吗?谢谢!

python matlab

4
推荐指数
1
解决办法
3815
查看次数

标签 统计

matlab ×1

python ×1