using the colon operator
1 次查看(过去 30 天)
显示 更早的评论
Create a matrix x that contains the following
row 1:the first 50 even numbers, starting from 0
row 2:the first 50 odd numbers, starting from 1
Use the colon operator to score the most efficient solution
0 个评论
回答(1 个)
the cyclist
2015-6-5
3 个评论
the cyclist
2015-6-5
Glad to hear you got it to work. Next time, I suggest you post what you attempted. Otherwise, all we see is you trying to get us to do your homework for you.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!