Menu

#16 Patch for /trunk/mfiles/write/writeBCN.m

New
nobody
None
Patch
2015-07-15
2015-07-15
Anonymous
No

Originally created by: tboo...@gmail.com

The format ' %9.4g' seems to delete, sometimes, relatively important decimal places.

For instance, for a drain package with an elevation of 2000.34 masl, the following happens:

>> fprintf(['%10d%10d%10d',repmat(' %9.4g',[1,2]),'\n'],[2 40 55 2000.34 5000]);
gives me:         2        40        55      2000      5000
where             L         R         C      elev      cond

Changing to %9g gives:
                  2        40        55   2000.34      5000

Maybe there is a better format that might avoid any other problems.

Cheers,
Thomas

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB