Convert x and y coordinates from double to uint16

29 views (last 30 days)
how to convert Convert x and y coordinates from double to uint16
[x y] = ginput(1);
Convert x and y coordinates from double to uint16

Accepted Answer

Voss
Voss on 9 Apr 2022
[x y] = ginput(1);
x = uint16(x);
y = uint16(y);

More Answers (0)

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!