GNU Octave

Todo

  1. Put DaCoda pdf version on DSP webpage [done]
  2. Wait for 2.9.* branch and apply imaging patches (libPNG reader, MxNx3 matrix representation) [done]
  3. MATLAB compatible interface for pcregexp
  4. Write an image viewer or use new gnuplot features to create one (see comment by Brian Blais below)

Done

Private communications

Paul Kienzle <pkienzle(at)users.sf.net> (Thu, 3 Mar 2005 04:07:29 +0200):

Octave currently sucks as a string manipulation language. A few choice functions allowing operations on matrices of strings, such as split to break a string up into a cell vector, and regexp to return a boolean vector indicating which cells match, and join to rebuild a string out of matching vectors, and so on.

I'm not sure exactly which operations are needed. Basically anything that needs a for loop now should have a 'vector' equivalent.

Brian Blais <bblais(at)bryant.edu> (Sun, 6 Mar 2005 02:27:55 +0200):

I've used the pm3d mode of gnuplot to plot images like this. The code below are my gimage.m and gimagesc.m, which work somewhat like image and imagesc. You can, however, put this in a loop like:

[x,y]=meshgrid(-10:10,-10:10);
z=sin(x/3).*cos(2*y/5);

for t=[-5:.1:5 5:-.1:-5]
  gimage(z*t*32+32);
end
function gimage(im)

   gset hidden3d;
   gset data style lines;
   gset surface;
   gset nocontour;
   gset noparametric;
   gset nologscale;

   gset pm3d map;
   gset palette gray;
   gset size ratio -1;


   gset cbrange [0:64];
   gsplot (rot90(im,-1));

endfunction
function gimagesc(im)

   gset hidden3d;
   gset data style lines;
   gset surface;
   gset nocontour;
   gset noparametric;
   gset nologscale;

   gset pm3d map;
   gset palette gray;
   gset size ratio -1;

   gsplot (rot90(im,-1));

endfunction

sub-sahara africa
subrahaman
sahara trip IanKnot rainbow