repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'fixf'
[wrf-fire-matlab.git]
/
vis3d
/
extend.m
blob
8ee6f38ea3661a9f0284d7132705769c055e6403
1
function x0=extend(x1,x2,etype)
2
switch etype(1)
3
case 'c'
4
x0=x1; % constant
5
case 'r'
6
x0=x1+(x1-x2); % reflection
7
otherwise
8
type
9
error('extend: unknown type')
10
end
11
end