Why is boundary showing me an empty array?

4 views (last 30 days)
Christian_T
Christian_T on 11 Dec 2019
Commented: Adam on 11 Dec 2019
With the following code Matlab ejects me k = [] empty, what could be the reason?
x = [0;0;0;0,;0,;0];
y = [0;6;7;8;9;10];
k = boundary(x,y);
x2 = x(k);
y2 = y(k);
figure
hold on
scatter(x2,y2)
  3 Comments
Christian_T
Christian_T on 11 Dec 2019
Thanks! is there another way to display the points on the line?

Sign in to comment.

Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!