03 2025 档案
摘要:一切尽在代码和注释中 %% Topic 0306 % introduction % matlab as calculator % array operation % 作为计算器使用,主要在命令行 % 操作号:+ - * / ^ % The result is computed, and displa
阅读全文
摘要:%% Topic 0306 % introduction % matlab as calculator % array operation % 作为计算器使用,主要在命令行 % 操作号:+ - * / ^ % The result is computed, and displayed as ans
阅读全文
摘要:代码: %% higher order polynomials clc; clear all; close all; x=[-1.2 -0.5 0.3 0.9 1.8 2.6 3.0 3.5]; y=[-15.6 -8.5 2.2 4.5 6.6 8.2 8.9 10.0]; figure('Pos
阅读全文
摘要:使用matlab编程练习中,发现matlab的自带的编辑器也不错,主要是分节运行非常方便,但是没有vim模式有点难受。经过摸索,变相实现了matlab中的编辑器的vim模式。安装好linux下matlab 2024a,其他版本也无所谓,安装好vim,我的是最新版本。左边显示器垂直放置,右边显示器水平
阅读全文
摘要:为了使用goldendict的最新版, 1. 添加archlinuxcn软件源,修改/etc/pacman.conf,在文件末尾添加两行 [archlinuxcn] Server = https://repo.archlinuxcn.org/$arch 2. 重新配置签名文件,否则更新时就会出现,重
阅读全文
摘要:今天20250304更新manjaro时,出现如下错误: sudo pacman -Syyu ✔ [sudo] nication 的密码: :: 正在同步软件包数据库... core 139.8 KiB 214 KiB/s 00:01 [#################] 100% extra
阅读全文
摘要:原来matlab中代码编辑时,还可以节为单位编辑和运行代码方法如下: %% %分节符 disp('section_1 begin') tic for i=1:2000 for j=1:2000 A(i,j)=i+j; end end disp('section_1 end') toc %% %分节符
阅读全文