scxsc Mapping Toolbox, Can the Precision Change?

1 view (last 30 days)
The scxsc function in the Mapping toolbox is a function that I have quickly tested and found it is well suited for my application.
However it only outputs 4 digits after the decimal leaving an uncertainty of +/-10 meters with those resulting coordinates which is not acceptable for my application. Is there any way to have it output additional significant figures after the decimal? The initial coordinates and circle radii are all accurate to 6 digits after the decimal and I would like to retain this precision.

Accepted Answer

Walter Roberson
Walter Roberson on 24 Apr 2019
At the command line, give the command
format long g
and then display the output variables again. You will see that they have more than 4 digits precision: it is just that the format you are using only displays 4 digits.
  1 Comment
Encepta 1
Encepta 1 on 24 Apr 2019
Thank you, this was infact the problem. Now outpus 10+ digits which is wonderful.

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!