返回顶部
摘要: 是因为不想自己手算 所以尝试用python和matlab 范数的概念此处不再赘述 1.Python numpy import numpy as np a=np.mat()#输入矩阵 a=np.array()#输入向量 norm1=np.linalg.norm(a,ord=1) norm2=np.li 阅读全文
posted @ 2023-01-03 18:06 YuhangLiuCE 阅读(51) 评论(0) 推荐(0) 编辑
摘要: module dj(clock,good0,good1,good2,good3,good4,en_duoji,money,pwm_out0,pwm_out1,pwm_out2,pwm_out3,pwm_out4); input clock; input money; input en_duoji; 阅读全文
posted @ 2022-12-27 18:42 YuhangLiuCE 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 觉得讲二叉树遍历不错的两个帖子 那个图特别赞👍 https://blog.csdn.net/weixin_45525272/article/details/105837185https://www.cnblogs.com/bigsai/p/11393609.html 阅读全文
posted @ 2022-11-19 14:30 YuhangLiuCE 阅读(17) 评论(0) 推荐(0) 编辑
摘要: module distance(clock, clr_n,trig,echo,out_dis); input clock,clr_n;//时钟信号 复位信号 input echo;//测距模块 output reg trig;//测距模块 output reg out_dis;//输出 此处用于控制 阅读全文
posted @ 2022-11-19 14:28 YuhangLiuCE 阅读(38) 评论(0) 推荐(0) 编辑
摘要: module hope(clock,clr_n,Sound_in,Sound_o); input clock; input clr_n; input [2:0]Sound_in; output reg[4:0] Sound_o; reg en_1; reg[27:0]counter; reg[2:0 阅读全文
posted @ 2022-11-12 12:47 YuhangLiuCE 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<malloc.h> #define OK 1 #define ERROR 0 #define MAXNUM 20 typedef int Status; typedef struct bnode { int data; struct bnode 阅读全文
posted @ 2022-11-07 17:19 YuhangLiuCE 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 这二叉树 不知道为什么不能够递归 搞明白了再更(然后这时又去运行了一遍) 啊哈哈哈 怎么突然就行了 准备截一张失败的图来着 然后突然就出来了 也不知道之前为什么失败 一个永远不会被解决的问题 非递归的今天晚上应该写不出来了 不想写了 阅读全文
posted @ 2022-11-06 21:29 YuhangLiuCE 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int main() { printf("Hello World!"); return 0; } print('Hello World!') 现在只会C和Python 哈哈哈 Hello World! 阅读全文
posted @ 2022-11-03 18:45 YuhangLiuCE 阅读(94) 评论(0) 推荐(0) 编辑