How can I create an offset of a boundary?
How can I create an offset of a boundary?
rng(‘default’)
x = rand(30,1);
y = rand(30,1);
plot(x,y,’.’)
xlim([-0.2 1.2])
ylim([-0.2 1.2])
k = boundary(x,y);
hold on;
plot(x(k),y(k));
My desired output:How can I create an offset of a boundary?
rng(‘default’)
x = rand(30,1);
y = rand(30,1);
plot(x,y,’.’)
xlim([-0.2 1.2])
ylim([-0.2 1.2])
k = boundary(x,y);
hold on;
plot(x(k),y(k));
My desired output: How can I create an offset of a boundary?
rng(‘default’)
x = rand(30,1);
y = rand(30,1);
plot(x,y,’.’)
xlim([-0.2 1.2])
ylim([-0.2 1.2])
k = boundary(x,y);
hold on;
plot(x(k),y(k));
My desired output: offset, boundary MATLAB Answers — New Questions