04 2021 档案

摘要:################################### 一:合并绘图: plot(X1,Y1,LineSpec1,...,Xn,Yn,LineSpecn) x = linspace(-2*pi,2*pi,200); y1 = sin(x); y2 = cos(x); plot(x,y 阅读全文
posted @ 2021-04-30 23:08 igoodful 阅读(1079) 评论(1) 推荐(0)
摘要:################################## 一:符号表达式expr对自变量x在a处的极限:limit(expr,x,a) 二:符号表达式expr对自变量x在a处的左极限:limit(expr,x,a,'left') 三:符号表达式expr对自变量x在a处的右极限:limit 阅读全文
posted @ 2021-04-29 21:13 igoodful 阅读(1251) 评论(0) 推荐(0)
摘要:################################# 表达式f对自变量从a到b求和:其中inf表示正无穷大 F = symsum(f,k,a,b) F = symsum(f,k) syms k x S1 = symsum(k^2, k, 0, 10) S2 = symsum(1/k^2 阅读全文
posted @ 2021-04-29 21:05 igoodful 阅读(2860) 评论(0) 推荐(0)
摘要:############################# sym/taylor taylor(f) is the fifth order Taylor polynomial approximation of f about the point x=0 (also known as fifth or 阅读全文
posted @ 2021-04-29 20:53 igoodful 阅读(2031) 评论(0) 推荐(0)
摘要:################################### 四舍五入: 取模: ################################## 阅读全文
posted @ 2021-04-27 19:52 igoodful 阅读(73) 评论(0) 推荐(0)
摘要:################################# ########################### 阅读全文
posted @ 2021-04-26 23:12 igoodful 阅读(98) 评论(0) 推荐(0)
摘要:####################### 表示: 一:行向量>> a=[1,2,3] a = 1 2 3 二:列向量>> b=[4;5;6] b = 4 5 6 三:矩阵 >> c=[1,2,3;4,5,6] c = 1 2 3 4 5 6 行向量的产生与转换: 一:冒号法>> a=2:10 阅读全文
posted @ 2021-04-26 22:44 igoodful 阅读(556) 评论(0) 推荐(0)
摘要:####################### >> realmax ans = 1.7977e+308 >> realmin ans = 2.2251e-308 >> pi ans = 3.1416 >> eps ans = 2.2204e-16 >> ans ans = 2.2204e-16 > 阅读全文
posted @ 2021-04-26 22:30 igoodful 阅读(158) 评论(0) 推荐(0)
摘要:#################################### ####################### 阅读全文
posted @ 2021-04-26 22:23 igoodful 阅读(732) 评论(0) 推荐(0)
摘要:################## 使用XShell或者SecureCRT可以用rz、sz命令上下传文件到本地windows,但经常会上传一部分后退出并显示一堆乱码,这是因为这中间有控制字符的原因。 解决方式是使用: rz -bey 我们知道用linux命令rz/sz可以通过一些终端软件如secu 阅读全文
posted @ 2021-04-23 15:26 igoodful 阅读(12404) 评论(1) 推荐(1)
摘要:##################################### 举例说明: root@10.10.10.10(test) > select * from apple; + + + + + | id | uuid | name | title | + + + + + | 1 | 1 | g 阅读全文
posted @ 2021-04-22 12:23 igoodful 阅读(169) 评论(0) 推荐(0)
摘要:########################## 纳秒级别时间: const ( Nanosecond Duration = 1 Microsecond = 1000 * Nanosecond Millisecond = 1000 * Microsecond Second = 1000 * Mi 阅读全文
posted @ 2021-04-19 11:06 igoodful 阅读(61) 评论(0) 推荐(0)
摘要:############################# package main import ( "fmt" "time" ) // 规则一 当defer被声明时,其参数就会被实时解析 // 规则二 多个defer执行顺序:defer执行顺序为先进后出 // 规则三 defer可以读取有名返回 阅读全文
posted @ 2021-04-16 14:34 igoodful 阅读(144) 评论(1) 推荐(0)
摘要:############################ 问题参考: https://github.com/golang/go/issues/42255 https://github.com/golang/go/issues/42081 解决办法: 1,在windows的任务管理器里面杀掉所有go. 阅读全文
posted @ 2021-04-12 16:56 igoodful 阅读(3800) 评论(0) 推荐(0)
摘要:############################# 更换或升级了golang后,需要删除go.mod、go.sum、vendor文件,然后重建,不然一直卡在那里 使用: Go modules 操作命令及相关文件解读 可以命令行执行 go help mod 打印出 go mod 相关命令: d 阅读全文
posted @ 2021-04-09 17:59 igoodful 阅读(1754) 评论(3) 推荐(0)
摘要:####################### vscode的插件默认安装位置 : C:\Users\你的用户名\.vscode\extensions ###################### 阅读全文
posted @ 2021-04-09 17:56 igoodful 阅读(250) 评论(0) 推荐(0)
摘要:###################### { "tabnine.experimentalAutoImports": true, "files.autoSave": "off", "[go]": { "breadcrumbs.showArrays": true, "breadcrumbs.show 阅读全文
posted @ 2021-04-09 17:44 igoodful 阅读(1288) 评论(0) 推荐(0)
摘要:########################### { "version": "0.2.0", "configurations": [ { "name": "Launch file", "type": "go", "request": "launch", "mode": "debug", //" 阅读全文
posted @ 2021-04-09 17:11 igoodful 阅读(996) 评论(0) 推荐(0)
摘要:########################### golang版本:1.5 环境变量: GOROOT= GOPATH= PATH= GO15VENDOREXPERIMENT=1 #在go1.5版本后必须配置 最开始的时候,Go 并没有提供较为妥当的包管理工具。从 1.5 版本开始提供了 ven 阅读全文
posted @ 2021-04-09 15:45 igoodful 阅读(490) 评论(1) 推荐(0)
摘要:################################### ######################################### 阅读全文
posted @ 2021-04-02 10:00 igoodful 阅读(73) 评论(0) 推荐(0)