人生
你可以是一本打开的书,但我要比那复杂点。 ——派大星
Matlab中将二进制文本转为十进制文本单独保存 Matlab中将二进制文本转为十进制文本单独保存
代码clear clc instr = zeros(512,1); fidy=fopen('data.txt','r'); i = 1; while feof(fidy) == 0 line = fgetl(fidy); inst
2021-09-08 Roc-May
基于FPGA的俄罗斯方块 基于FPGA的俄罗斯方块
vh文件 definitions.vh // The width of the screen in pixels `define PIXEL_WIDTH 640 // The height of the screen in pixels
2021-09-07 Roc-May
hexo报错page.tags.forEach is not a function hexo报错page.tags.forEach is not a function
目录我拉了 master 分支,当执行 hexo g 命令时发现以下错误。 ERROR E:\blog\themes\hexo-theme-matery\layout\post.ejs:26 24| 25| <
2021-09-07 Roc-May
使用Matlab计算ADC指标 使用Matlab计算ADC指标
目录前述 对ADC采样后的结果进行fft时需要满足采样信号、输入信号、采样点数和被采样周期个数之间的相干采样关系。 也就是Fin/Fs=M/N,M是完整的输入信号周期的个数,N是完整的采样信号周期的个数。 代码Data_in = loa
2021-09-02 Roc-May
sed&awk的一些常用命令 sed&awk的一些常用命令
目录6.sed 替换命令语法sed ‘[address-range|pattern-range] s/original-string/replacement-string/[substitute-flags]’ input file 上面
2021-08-31 Roc-May
Virtuoso61X修改默认的VI编辑器 Virtuoso61X修改默认的VI编辑器
操作步骤1.进入打开Virtuoso的文件夹下2.输入bash ls -al ,或者输入bash find . -iname ".cdsinit*" -type f 2>>/dev/null 找到该文件夹下
2021-08-31 Roc-May
一天5个Matlab程序[1] 一天5个Matlab程序[1]
目录代码在matlab的editor(command windows里面输入Editor即可,从Editor转到command windows可以按快捷键ctrl+0)键入代码,保存后运行即可。 1.三角函数曲线function exmap
2021-08-30 Roc-May
shell脚本各种符号的含义 shell脚本各种符号的含义
目录解释$$ Shell本身的PID(ProcessID) $! Shell最后运行的后台Process的PID $? 最后运行的命令的结束代码(返回值) $- 使用Set命令设定的Flag一览 $* 所有参数列表。如"$*"用「"」括起来
2021-08-30 Roc-May
GNU/Linux的一些操作(基于ubuntu) GNU/Linux的一些操作(基于ubuntu)
目录1.list_net_info.sh#!/bin/bash IP=`ifconfig eth0 | head -2 | tail -1 | awk '&#123;print $2&#125;' | awk -F":" '
2021-08-19 Roc-May
1 / 2