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.
我已经构建了真正的随机数生成器,我想可视化结果。我正在测试很多生成器,然后每个生成器都会生成一个 txt.file。就像 543 35 68 3 ... 在 txt 文件中一样。我想在 matlab 中绘制一个 3D 图。它应该有 3 个轴,分别是每个数字的概率、生成器和随机数的间隔,见图。这些生成器是16位的,所以最大的数是65535。例如30000已经生成了10次,这个文件有100000个随机数,所以30000的概率是10/100000。任何帮助表示赞赏! 数字
543 35 68 3 ...
您可以在 MATLAB 中使用 surfplot。
更多信息:链接