会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaohuangweb
博客园
首页
新随笔
联系
订阅
管理
2023年12月31日
Matlab与线性代数
摘要: %判断一个矩阵是否可以对角化并求解其对角化矩阵% 定义矩阵 A A = [4,2,-2;2,1,-1;-2,-1,1]; % 定义矩阵 A % A = [4, -2; 1, 1]; % 计算特征向量和特征值 [V, D] = eig(A); % 判断是否存在足够数量的线性无关特征向量 if rank
阅读全文
posted @ 2023-12-31 14:50 XiaoHuang_Student
阅读(28)
评论(0)
推荐(0)
2023年12月23日
地图相关的绘制
该文被密码保护。
阅读全文
posted @ 2023-12-23 15:47 XiaoHuang_Student
阅读(0)
评论(0)
推荐(0)
2023年12月11日
Python使用Pyinstaller将.py文件打包成exe
摘要: Pyinstaller -F -w 文件名.py -F, --onefile: 描述:创建一个单独的可执行文件而不是一个文件夹。 示例:pyinstaller -F your_script.py --noconsole: 描述:打包成窗口应用程序,不显示控制台窗口。 示例:pyinstaller -
阅读全文
posted @ 2023-12-11 21:57 XiaoHuang_Student
阅读(89)
评论(0)
推荐(0)
2023年12月8日
Python装包镜像
摘要: 清华镜像pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple 其他镜像网站 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pyp
阅读全文
posted @ 2023-12-08 17:55 XiaoHuang_Student
阅读(90)
评论(0)
推荐(0)
解决python绘图无法显示中文和负号的问题
摘要: import matplotlib.pyplot as plt # 汉字字体,优先使用楷体,找不到则使用黑体 plt.rcParams['font.sans-serif'] = ['Kaitt', 'SimHei'] # 正常显示负号 plt.rcParams['axes.unicode_minus
阅读全文
posted @ 2023-12-08 17:44 XiaoHuang_Student
阅读(495)
评论(0)
推荐(0)
公告