Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
matlab中4D数据的频差图(双精度型)_Matlab_Matlab Figure - Fatal编程技术网

matlab中4D数据的频差图(双精度型)

matlab中4D数据的频差图(双精度型),matlab,matlab-figure,Matlab,Matlab Figure,我有一个四维数据(.nc文件,类型为double)。如何获得不同范围数据的频率分布图(线图而非直方图)?您可以尝试以下方法: A=rand(100,1); h=histogram(A) x=[1:h.NumBins] plot(x,h.Values) 我不确定这正是你想要的 您也可以使用本文中介绍的不推荐的功能histc 与其在不理解问题的情况下发布答案,不如先发表评论来澄清问题。添加一些示例会很有帮助,同时看看如何生成频率数据。

我有一个四维数据(.nc文件,类型为double)。如何获得不同范围数据的频率分布图(线图而非直方图)?

您可以尝试以下方法:

A=rand(100,1);
h=histogram(A)
x=[1:h.NumBins]
plot(x,h.Values)
我不确定这正是你想要的

您也可以使用本文中介绍的不推荐的功能
histc


与其在不理解问题的情况下发布答案,不如先发表评论来澄清问题。添加一些示例会很有帮助,同时看看如何生成频率数据。