comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » A little help....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
A little help.... [message #84669] Thu, 10 May 2012 01:53
Konstantinos is currently offline  Konstantinos
Messages: 29
Registered: April 2011
Junior Member
Dear All,

Lets supose that i have the folowing matrix lets call it A (14 columns
16 rows) with elements as follows

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 0 0 0 0 0 0 0 0 2 2 2 2
1 1 1 1 0 0 0 0 0 0 0 0 2 2 2 2
1 1 1 1 0 0 0 0 0 0 0 0 2 2 2 2
1 1 1 1 0 0 0 0 0 0 0 0 2 2 2 2
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 5 0 0 7 7 0 0 0 0 0 0 0 0 0 0
5 5 0 0 7 7 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 3 3 3 3
0 0 0 0 0 0 0 0 0 0 0 0 3 3 3 3
6 6 0 0 8 8 0 0 0 0 0 0 3 3 3 3
6 6 0 8 8 0 0 0 0 0 0 3 3 3 3 3

What i want to do is to make a matrix B (8 columns 8 rows) such as

1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
1 1 1 1 2 2 2 2
5 5 7 7 3 3 3 3
5 5 7 7 3 3 3 3
5 5 7 7 3 3 3 3
5 5 7 7 3 3 3 3

I cant think of anything

I ll appreciate any help

Thank u in advance

Kostas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Books on Sale
Next Topic: Re: A little help

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:45:09 PDT 2025

Total time taken to generate the page: 0.00393 seconds