NumPy是一个关于矩阵运算的库,熟悉Matlab的都应该清楚,这个库就是让python能够进行矩阵话的操作,而不用去写循环操作。 下面对numpy中的操作进行总结。 numpy包含两种基本的数据类型:数组和矩阵。 数组(Arrays) Numpy有许多的创建数组的函数: 数组索引(Array in ...
分类:
其他好文 时间:
2018-08-28 17:56:38
阅读次数:
187
问题是这样:比如有一个地心惯性系的轨道,然后从轨道上取了几个点,问能不能根据这几个点把轨道还原了? 当然,如果知道轨道这几个点的速度的情况下,根据轨道六根数也是能计算轨道的,不过真近点角是随时间变动的。 下面我会用数学的方法来解这个问题,基本思想是通过拟合空间上点的平面与椭球平面的交线将该轨道计算出 ...
分类:
其他好文 时间:
2018-08-26 18:26:31
阅读次数:
330
《服务器系统负载分析及磁盘容量预测》,附带代码的学习、注释: 从该问题的分析思路看(有问题找方案):建立磁盘容量使用的预警系统(避免宕机等)——>(问题背景:总容量大小基本不变,使用量根据负载情况变化)预测出某时刻的使用量——>预测使用量占比是否达到预警系统阈值——>根据阈值输出判断信号 从给出的数 ...
分类:
编程语言 时间:
2018-08-25 17:28:50
阅读次数:
3208
%[AX,H1,H2]=plotyy(...):返回AX中创建的两个坐标轴的句柄以及H1和H2中每个图形绘图对象的句柄。AX(1)为左侧轴,AX(2)为右侧轴。 x = 0:0.01:20; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*s... ...
分类:
其他好文 时间:
2018-08-25 11:48:20
阅读次数:
192
axis([0 10 0 10]); hold on xy=[]; n=0; disp('Left mouse button picks points') disp('Right mouse button picks last point') but=1; while but==1 [xi,yi,b... ...
分类:
其他好文 时间:
2018-08-25 11:37:33
阅读次数:
186
tf.reduce_mean reduce_mean( input_tensor, axis=None, keep_dims=False, name=None, reduction_indices=None ) 功能说明: 计算张量 input_tensor 平均值 参数列表: 参数名必选类型说明 ...
分类:
其他好文 时间:
2018-08-23 13:13:55
阅读次数:
162
Description You are given an integer N. Consider all possible segments (线段,划分)on the coordinate axis with endpoints at integer points with coordinates ...
分类:
其他好文 时间:
2018-08-22 20:31:18
阅读次数:
258
# 删除td数据框中的 指定列 # 删除td数据框中的 最后一列 # 选出指定列 不为空 的行 ...
分类:
其他好文 时间:
2018-08-18 18:34:06
阅读次数:
150
1. Air Pollution Forecasting In this tutorial, we are going to use the Air Quality dataset. This is a dataset that reports on the weather and the leve ...
分类:
其他好文 时间:
2018-08-14 17:12:08
阅读次数:
464