MATLAB 中进行非线性最小二乘拟合的函数为:lsqnonline 函数和 lsqcurvefit 函数。帮助文档中的解释为: lsqnonlin: Solve nonlinear least-squares (nonlinear data-fitting) problem(非线性最小二乘); l ...
分类:
其他好文 时间:
2020-07-26 15:57:54
阅读次数:
80
1.实现方式 首先我们需要一个数组a,存储从第1个到第n个导弹的高度 然后一个数组d(其实是个栈),存储不上升序列 把a中的每个元素挨个加到d里面: (a中第i个元素为a[i],d长度为len,d中最后一个(也是最小的一个)为d[len]) 如果a[i] <= d[len],说明a[i]可以接在d后 ...
分类:
其他好文 时间:
2020-07-26 15:56:51
阅读次数:
70
客户端通信是DLL 文件,看需求可以自己编译到exe上 下面是DLL调用过程 客户端代码 // DriveDll.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include <windo ...
分类:
其他好文 时间:
2020-07-26 15:25:12
阅读次数:
107
主机 echo "sh /root/iptables.sh" >> /etc/rc.local echo "mount /dev/sdb /data" >> /etc/rc.local chmod +x /etc/rc.d/rc.local 1.文件系统配置新部署MongoDB集群,应部署与cent ...
分类:
数据库 时间:
2020-07-26 15:21:19
阅读次数:
122
<script type="text/javascript"> let promise=new Promise((resolve,reject)=>{ console.log('promise初始化状态:pending '); // 同步执行 setTimeout(()=>{ console.log ...
分类:
其他好文 时间:
2020-07-26 15:12:41
阅读次数:
77
中文标题【找到最小数量的硬币】 题目的要求比较简单,要求找到最小数量的硬币。 给定的硬币数量是 1,3, 5 英文描述 英文题目的要求请参考下图: 中文描述 主要要求是你手上已经有 1,3,5 面值的硬币。 在给定金额情况下,找到最少需要多少个硬币能够等于给定的价值。 思路和点评 这个算法的主要目的 ...
分类:
其他好文 时间:
2020-07-26 02:08:35
阅读次数:
110
A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between ...
分类:
其他好文 时间:
2020-07-26 02:05:42
阅读次数:
102
AXI协议中用到的一些术语 AXI Transaction:the complete set of required operations on the AXI bus form the AXI Transaction AXI Burst:any required payload data is t ...
分类:
其他好文 时间:
2020-07-26 01:33:58
阅读次数:
109
因工作中要对数据打包,顺便研究了下WinRAR的命令行模式,自己写了些例子,基本用法如下: 测试压缩文件准备:文件夹test_data,内部包含子文件夹,分别存放了一些*.log和*.txt文件。 测试代码如下: rem 压缩全部文件,按类型压缩,zip打包 WinRAR.exe a num_all ...
<scroll-view class="nav_left" scroll-y> <block wx:key="{{index}}" wx:for="{{navLeftItems}}"> //当前点击的项等于当前点击下标添加 class <view class="nav_left_items {{cu ...
分类:
微信 时间:
2020-07-26 01:29:05
阅读次数:
106