creating a matrix in r which its odd rows are shifted by 0.5

前端 未结 0 977
耶瑟儿~
耶瑟儿~ 2021-01-26 13:35

I want to create a 10*10 matrix in R, which in odd rows are shifted by +0.5 as follow:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题
1.5