swapping numbers

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
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 件)

Andrei Bobrov
Andrei Bobrov 2012 年 2 月 7 日

1 投票

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

質問済み:

FIR
2012 年 2 月 7 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by