Monday, February 28, 2022

Matlab: Web Crawler

在我,网络爬虫神技已经向往已久,然而此前一直未有仔细尝试。
今天,我就以一个简单网页为目标,做一次尝试,小试牛刀了解其中应用的功能,做一个简简单单的示范。
我也注意到,各网页其实HTML结构不同,每次还要具体分析,文字编码方式尤其是要注意,这是正确理解中文的有效方式。代码

References

Monday, February 21, 2022

MATLAB+GDAL: Zonal statistics

At first, I wanted to extract the raster values from the corresponding Polygon positions directly through MATLAB's built-in FUNCTION. However, after multiple attempts, although the code ran smoothly, the results were always incorrect. Therefore, I used a more labor-intensive method, which involved using the Polygon to crop first and then counting each cropped raster. The code needs to be referenced in conjunction with the Shapefile attribute table, as follows:(一开始,我希望通过MATLAB本身的FUNCTION直接从各栅格数据上提取到Polygon对应位置的栅格数值,可是尝试多次,代码虽然通畅,但结果总是不正确,所以就使用了一个最费事的方法,就是利用Polygon先裁剪,再统计各裁剪的栅格,代码需要结合Shapefile属性表,注意参照如下:)

Sunday, February 20, 2022

TeX: TexMaker+MikTex

安装顺序

安装MikTex,下载.
安装TexMaker,下载.
配置TexMaker,分为两步.

参考文献