example1.octave
来自「各种工程计算的库函数」· OCTAVE 代码 · 共 19 行
OCTAVE
19 行
#!/usr/bin/octave## script to read window from file and plot transformed resultwfile = fopen("example1.samples.txt", "r", "native");[samples, samplecount] = fscanf(wfile, "%g");fclose(wfile);wfile = fopen("example1.spectrum.txt", "r", "native");[spectrum, spectsize] = fscanf(wfile, "%g");fclose(wfile);hold on;plot(samples);plot(spectrum);keyboard("Done> ");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?