swapping numbers
1 次查看(过去 30 天)
显示 更早的评论
I have a set of numbers say data=[3 5 7 1 2 15...100],having 100 values,i need to swap every element and need the answer in ascending order,i want to take first 20 values,swap,ten next 20swap,...please help
1 个评论
Jan
2012-2-7
The question is not clear yet. Can you give a unique definition and a small example? What have you tried so far and which problems occurred - e.g. error messages?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!