码迷,mamicode.com
首页 >  
搜索关键字:sin    ( 938个结果
根据两点的经纬度计算距离
function getDistanceBetweenPointsNew($latitude1, $longitude1, $latitude2, $longitude2) { $theta = $longitude1 - $longitude2; $miles = (sin(deg2r...
分类:其他好文   时间:2015-07-30 10:44:48    阅读次数:103
Adjust color space Constrast,Brightness,Hue,Saturation in YCbCr format.
The formula is : Y = (y - 128) * C /128 + (B - 128) + 128. //About add 128 is ture or error ? Cb = [ (Cb - 128)*cos(H) + (Cr - 128)*sin(H)] * S/64 ...
分类:其他好文   时间:2015-07-24 20:44:38    阅读次数:125
关于Socket编程中的inet_ntop、inet_pton和inet_ntoa、inet_addr
今天在VS2013中调试SOCKET编程时,遇到了点小问题: 问题代码为: inet_ntoa(addrClient.sin_addr); 生成错误消息为: error C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable...
分类:Web程序   时间:2015-07-24 18:31:09    阅读次数:868
[笔记]numpy中的tile与kron的用法
numpy中提供了不少数学中矩阵的运算、构造函数。闭上眼睛想一想,发现其中常用的也就是那么几个:cos, sin, mean, dot, max,min, outer,argsort,ones,zeros,arrange,reshape,fft………等。想了半天,可以也不超过30个左右常用函数。但是numpy的确博大精深:查看文档发现有大概586个方法或属性!今天,我就记录一下numpy中,矩阵运...
分类:其他好文   时间:2015-07-24 01:32:23    阅读次数:193
[家里蹲大学数学杂志]第409期与正弦对数有关的一个积分不等式
试证: $$\bex 0<\int_0^\infty \frac{\sin t}{\ln(1+x+t)}\rd t<\frac{2}{\ln(1+x)}. \eex$$
分类:其他好文   时间:2015-07-22 18:18:01    阅读次数:89
matlab 已知函数值纵坐标值(Y值)获得对应的横坐标
clear all;clc;x=-pi/2:pi/50:pi;y=sin(x);plot(x,y);grid on;fm=max(y)id=find(y==fm);xm=x(id)转自:http://zhidao.baidu.com/question/547247688.html另一种方法:[~,f...
分类:其他好文   时间:2015-07-21 14:42:05    阅读次数:173
MATLAB绘图,绘双坐标轴,绘一图二轴等
clc;clear all;close all;% %% 画极坐标系% x = 0:.01 * pi:0.5 * pi;% y = cos(x) + sqrt(-1) * sin(x);% plot(y*2,'r','linewidth',5);% hold on% warning('off')% ...
分类:其他好文   时间:2015-07-18 22:31:09    阅读次数:228
求转子曲线所包围的封闭区域的面积
问题碰到这样的问题,感觉很神奇。 定子方程,短幅内摆线方程: {x1y1=(R?r)sinτ+esin(z2τ)?resinθ=(R?r)cosτ?ecos(z2τ)+recosθ\left\{\quad \begin{array}{rl} x_1&=(R-r) \sin \tau+e \sin \left(z_2 \tau\right)-r_e \sin \theta \ y_1&=(...
分类:其他好文   时间:2015-07-18 18:38:21    阅读次数:204
[家里蹲大学数学杂志]第405期中国科学院数学与系统科学研究院2015年夏令营分析与代数试题
求 $$\bex \sex{\ba{cc} e^{-i\tt}&2i\sin \tt\\ 0&e^{i\tt} \ea}^n. \eex$$
分类:其他好文   时间:2015-07-18 17:02:43    阅读次数:125
Math类的用法
java.math.Math类常用的常量和方法:Math.PI 记录的圆周率Math.E记录e的常量Math.abs 求绝对值Math.sin 正弦函数 Math.asin 反正弦函数Math.cos 余弦函数 Math.acos 反余弦函数Math.tan 正切函数 Math.atan 反正切函数...
分类:其他好文   时间:2015-07-17 11:48:07    阅读次数:115
938条   上一页 1 ... 60 61 62 63 64 ... 94 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!