Mercurial > hg > octave-lyh
view examples/@polynomial/polyval.m @ 13822:38e3bfc4e076
provide default message for waitbar
* waitabar.m: If no message is supplied for a new waitbar object, set
messge to "Please wait...".
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Nov 2011 16:40:07 -0400 |
parents | 567e3e4ab74d |
children | 1b48b209a8d6 |
line wrap: on
line source
function [y, dy] = polyval (p, varargin) if (nargout == 2) [y, dy] = polyval (fliplr(p.poly), varargin{:}); else y = polyval (fliplr(p.poly), varargin{:}); endif endfunction