Code covered by the BSD License  

Highlights from
Chebfun V4

image thumbnail

Chebfun V4

by

 

30 Apr 2009 (Updated )

Numerical computation with functions instead of numbers.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

plusquasimatrix
function pass = plusquasimatrix
% This test checks that quasimatrices of different sizes cannot be added.
% Rodrigo Platte Jun 2009


 f = chebfun('x');
 pass = false;
 try
    g = [f 2*f]+f;
 catch
     pass = true;
 end

Contact us