How to solve question 5?
显示 更早的评论
回答(1 个)
Example:
YourMatrix = magic(5)
SomeVariable = YourMatrix(1, 4:5) %copy last 2 elements of the first row
SomeOtherVariable = YourMatrix(3, [2 4]) %copy 2nd and 4th elements of the third row
类别
在 帮助中心 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
