This function is not yet fully documented. This is a transcript of the text-formatted help.

bbdiag  Create a black-box operator for a diagonal matrix.
   bbdiag(V,K) creates a square operator of order M=length(V)+abs(K)
   with the vector V on the K'th diagonal above the main diagonal.

   bbdiag(V) is equivalent to bbdiag(V,0).
   See also bbeye, bbzeros.