Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 .mat 文件,其中包含训练数据,即近 1000 个图像样本的直方图。我想分析该程序以绘制其他一些图像的直方图,但是如果我在 mat-lab 中打开该文件,我会得到一些奇怪的语言代码..!! 如何阅读内容?
假设histData.mat是文件名。然后将该文件拖到 MATLAB 命令窗口或写入load histData.mat,前提是 MATLAB 目录与 MAT 文件的目录相同。
histData.mat
load histData.mat
这将加载 1000 个直方图样本的数据,然后您可以使用plot命令。
plot