Blitz logo

Blitz Support :

From: John McHenry (john_d_mchenry_at_[hidden])
Date: 2004-08-01 19:57:32


Hi there:
 
I want to know if I can do some simple Matlab stuff with blitz like these Matlab examples,
 
N = 10000;
A = [7:N]; % create a length N-6 array
 
How do you do it in blitz?
 
Then there's this example,
 
M = [1:4; 5:8; 9:12]
M =
     1 2 3 4
     5 6 7 8
     9 10 11 12

M(1,1:3) = [3:-1:1]
M =
     3 2 1 4
     5 6 7 8
     9 10 11 12

It seems like this stuff is awkward in blitz but I'm new and I am most likely missing the easy way to do these things.
 
Is there a set of examples of how you can do common Matlab stuff?
 
John.
8< -------------------------------------------- >8
"Imagination is more important than knowledge... "
Albert Einstein
8< -------------------------------------------- >8

                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!