1 February 2010 0 Comments

Howto Animate Graphs in Matlab

Howto Animate Graphs in Matlab

A Simple Example 1234567891011121314clear all; close all; clc; f0 = 10; N = 1024; t = linspace(0,10,N); NFFT = 2^nextpow2(N); fs = 1/(t(2)-t(1)); aa = 0.001:0.002:0.5; L = length(aa); for kk = 1:L     a = aa(kk);     ff = f0 – a*t;     y = cos(2*pi*ff.*t);     periodogram(y,[],NFFT,fs); vline(f0); ylim([-50,2]) [...]

Tags: ,
25 January 2010 1 Comment

Animations in PDF using LaTeX

I am using LaTeX (started with LaTeX 2.09, followed by LaTeX 3e and now XeTeX) with a WYSIWYG LyX for everything technical and scientific (reports, articles, thesis, presentations). In the last year I changed to pdfTeX in order to obtain directly pdf file output without intermediate steps like dvi and ps, and to replace eps [...]

Tags: , ,