[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31491] save produces unloadable output for ne
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31491] save produces unloadable output for nested anonymous functions |
Date: |
Fri, 29 Oct 2010 02:25:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 IceCat/3.6.11 (like Firefox/3.6.11) |
Follow-up Comment #2, bug #31491 (project octave):
> c = @(f, T, n, t) (1/T)*trapz(t, f(t).*exp(-j.*2.*pi./T.*n.*t))
> four = @(f, T, n, t) sum(arrayfun(@(N) c(f, T, N, linspace(0, T,
100)).*exp(j*2*pi/T*N*t), [-n:n]))
> afour = @(f, T, N, t) arrayfun(@(x) four(f, T, N, x), t)
> save fourier
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31491>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/