help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3D animation


From: Bart Vandewoestyne
Subject: Re: 3D animation
Date: Wed, 18 Feb 2009 20:33:14 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Feb 18, 2009 at 01:48:40PM -0500, John W. Eaton wrote:
>
> What is F in the above?
> 
> In any case, this is most likely a limitation of the speed of 3D
> rendering in gnuplot, but I'd be interested to see exactly what you
> are seeing, so it would be helpful if you could post a complete
> working example.

For now, this is what I use for F:

function y = F(x, y, t)

A = 1.0e4;
xs = 125;
ys = 150;
wx = 3;
wy = 3;
f = 250.0e3;
w = 2/f;
p = 2;
sw = 3/f;

y = A*exp(-0.5*((x-xs)/wx).^2).*exp(-0.5*((y-ys)/wy).^2) ...
       *sin(2*pi*f*t);


I would like to animate the pulse going up and down.

Regards,
Bart

-- 
        "Share what you know.  Learn what you don't."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]