20251020
This commit is contained in:
8
344.txt
Normal file
8
344.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
点名 X(m) Y(m) H(mm) code
|
||||
|
||||
3 52.000 57.000 53.000 49.000 48.000 46.000 51.000 49.000 49.000 48.000 56.000 48.000 51.000 54.000 50.000 46.000 51.000 49.000 57.000 48.000 52.000 48.000 53.000 46.000 56.000 50.000 52.000 48.000 s50
|
||||
63 52.000 57.000 52.000 56.000 56.000 46.000 57.000 48.000 56.000 48.000 56.000 48.000 52.000 50.000 54.000 46.000 48.000 48.000 56.000 48.000 52.000 48.000 56.000 46.000 56.000 52.000 57.000 48.000 S77
|
||||
点名 X(m) Y(m) H(mm) code
|
||||
|
||||
3 49510.311 80362.319 405.824 s50
|
||||
63 49488.908 80426.008 408.849 S77
|
||||
BIN
image1.png
Normal file
BIN
image1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 334 KiB |
14
printfile.m
Normal file
14
printfile.m
Normal file
@@ -0,0 +1,14 @@
|
||||
[filename2,p2]=uigetfile('*.txt','选择输出文件名');
|
||||
fn=fopen(filename2,'a');
|
||||
|
||||
gjzb(1)=struct('dh','3','x',49510.3110,'y',80362.3190,'h',405.8240,'dm','s50')
|
||||
gjzb(2)=struct('dh','63','x',49488.9080,'y',80426.0080,'h',408.8490,'dm','S77')
|
||||
fprintf(fn,'%s\n\n','点名 X(m) Y(m) H(mm) code');
|
||||
for i=1:2
|
||||
fprintf(fn,'%8s',gjzb(i).dh);
|
||||
fprintf(fn,'%15.3f',gjzb(i).x);
|
||||
fprintf(fn,'%16.3f',gjzb(i).y);
|
||||
fprintf(fn,'%10.3f',gjzb(i).h);
|
||||
fprintf(fn,'%8s\n',strcat(' ',gjzb(i).dm));
|
||||
end
|
||||
fclose(fn);
|
||||
2
showimage.m
Normal file
2
showimage.m
Normal file
@@ -0,0 +1,2 @@
|
||||
myi=imread('image1.png');
|
||||
imshow(myi)
|
||||
3
showimg2.m
Normal file
3
showimg2.m
Normal file
@@ -0,0 +1,3 @@
|
||||
myi=imread('image1.png');
|
||||
imfinfo(filename);
|
||||
imgRGB=imread(filename);
|
||||
Reference in New Issue
Block a user