You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function res = getDivByPos(Length, Width, x, y) |
|
res = 0; |
|
ux=Length/4; |
|
uy=Width/2; |
|
|
|
x = x + Length/2; |
|
y = y + Width/2; |
|
|
|
px = ceil(x/ux); |
|
end |