default.txt 278 B

1234567891011121314
  1. // A comment
  2. function I = foo(dims, varargin)
  3. d=[1; matrix(dims(1:$-1),-1,1)]
  4. for i=1:size(varargin)
  5. if varargin(i)==[] then
  6. I=[],
  7. return;
  8. end
  9. end
  10. endfunction
  11. b = cos(a) + cosh(a);
  12. bar_matrix = [ "Hello", "world" ];
  13. foo_matrix = [1, 2, 3; 4, 5, 6];