swapping numbers

17 Ansichten (letzte 30 Tage)
FIR
FIR am 7 Feb. 2012
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 Kommentar
Jan
Jan am 7 Feb. 2012
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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 7 Feb. 2012

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by