%-- 4/21/04 10:36 PM --%
cd C:\MATLAB6p5p1\work\Alex\UraPIV
urapiv
urapivdemo run
cd ..
edit urapivdemo
help urapivdemo
edit readimdir
pwd
urapivdemo run
filenames
amount
filebase
urapivdemo run
filenames
filenames(:,end-10:end-5))
filenames(:,end-10:end-5
filenames(:,end-10:end-5))
filenames(:,end-10:end-5)
filenames(1)
filenames{1}
whos
filenames
filenames(1,:)
filenames(1,end-10:)
filenames(1,end-10:end)
filenames(1,end-9:end)
filenames(1,end-9:end-4)
max(str2num(filenames(:,end-9:end-4)))
filebase
urapivdemo run
max(str2num(filenames(:,end-9:end-4)))
urapivdemo run
imshow(a)
imshow(A)
imshow(B)
montage([A,B])
dbstop if error
urapivdemo run
pixi
dbquit
urapivdemo run
montage([a2,b2])
a2 = a(k:k+itt-1,m:m+itt-1)
imshow(a)
a
b
mesh(c)
c
urapivdemo run
whos
imshow(piv21apr_c001s0001000001
imshow piv21apr_c001s0001000001
imshow(piv21apr_c001s0001000001)
image(piv21apr_c001s0001000001)
imshow(p'iv21apr_c001s0001000001.tif')
imshow('piv21apr_c001s0001000001.tif')
grid on
axis imag
axis image
[x,y] = ginput
urapivdemo
cd ..
urapivdemo
tic,urapiv('images',32,32,2,1,1,10,[3 3 3 3]),toc
close all
help urapiv
edit urapiv
help avifile
figure;
edit urapivdemo
urapivdemo run
close all
urapivdemo run
delete example.avi
urapivdemo run
dir *.avi
randstr
char(rand(5,1))
char(floor(rand(5,1)))
char(floor(100*rand(5,1)))
char(floor(100*rand(1,5)))
urapivdemo run
help movie
help getframe
urapivdemo run
dbstop if error
urapivdemo run
pwd
cd ..
urapivdemo run
whos
pixi
pixj
pixi
pixj
c(pixi-1,pixj)
pixi
itt
close all
clear all
dir
what
cd images
what
cd ..
dir
clear all
urapivdemo run
dbquit
urapivdemo run
vector
dbquit
pwd
urapidemo run
pwd
urapivdemo run
pixi
urapivdemo run
whos
close all
cd ..
help quivertxt
quivertxt('   urapiv('images',32,32,2,1,1,10,[3 3 3 3]);
pwd
dir *.txt
quivertxt piv21apr_c001s00010000.txt
quivertxt('piv21apr_c001s00010000.txt')
edit quivertxt
pwd
cd images
quivertxt('piv21apr_c001s00010000.txt')
quivertxt('piv21apr_c001s00010000')
axis image
axis ij
quivertxt('piv21apr_c001s00010000',2)
axis ij
axis tight
quivertxt('piv21apr_c001s00010000',2)
pwd
urapivdemo run
what
whos
dir images
dir images\*.mat
cd images
what
pwd
cd ..
cd images
for i = 1:200
data = load(sprintf('%s%5d','piv21apr_c001s00010000_flt.txt')
mean(data(:,3))
min(diff(y))
x = data(:,1);
y = data(:,2);
u = data(:,3);
v = data(:,4);
quiver(x,y,u,v)
axis ij
quiver(x,y,u,v,3)
quiver(x,y,u,v,3,'r')
quiver(x,y,u,v,5,'r')
axis ij
size(unique(x))
size(unique(y))
x = reshape(x,[26 26])
y = reshape(y,[26 26])
u = reshape(v,[26 26])
v = reshape(v,[26 26])
u
plot(mean(u,2))
plot(mean(u,2),x(1,:)))
plot(mean(u,2),x(:,1)))
plot(mean(u,2),x(:,1))
plot(mean(v,2),x(:,1))
data = load('piv21apr_c001s00010000_flt.txt')
u = data(:,3);
u = reshape(u,[26 26])
plot(mean(v,2),x(:,1))
clf
plot(mean(u,2),x(:,1))
figure
quiver(x,y,u,v,5,'r')
axis ij
data = load('piv21apr_c001s00010000_flt.txt')