全部版块 我的主页
论坛 休闲区 十二区 灌水吧
559 0
2016-10-07
3. Use matrix( ), rep( ), and seq( ) to construct the following 5 × 5 matrix:
[ , 1] [ , 2] [ , 3] [ , 4] [ , 5]
[1, ] 1 2 3 4 5
[2, ] 2 3 4 5 6
[3, ] 3 4 5 6 7
[4, ] 4 5 6 7 8
[5, ] 5 6 7 8 9 另外构建一个函数可以生成这种模式的矩阵
use your code to specify a function that can be used to construct n × n matrices that have the
same pattern. Use the function to generate 10 × 10 and 12 × 12 matrices
本人菜鸟一个,刚学。




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群