码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
HDoj-1398-Square Coins-母函数
Square Coins Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8487    Accepted Submission(s): 5774 Problem Description People in Silverl...
分类:其他好文   时间:2014-10-30 17:10:42    阅读次数:159
Matlab数字信号处理
产生方波cleart=0:0.01:10;subplot(4,1,1)f1=square(t); % 产生周期为2pi的方波信号plot(t,f1)axis([0,10,-1.2,1.2])subplot(4,1,2)f2=square(t,30); % 产生周期为2pi,占空比为3...
分类:其他好文   时间:2014-10-27 00:24:43    阅读次数:169
A Tour of Go Exercise: Loops and Functions
As a simple way to play with functions and loops, implement the square root function using Newton's method.In this case, Newton's method is to approxi...
分类:其他好文   时间:2014-10-27 00:18:38    阅读次数:219
LeetCode: Spiral Matrix II 解题报告-三种方法解决旋转矩阵问题
Spiral Matrix IIGiven an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should retu...
分类:其他好文   时间:2014-10-24 12:35:31    阅读次数:259
LeetCode 58 Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the following matrix: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [...
分类:其他好文   时间:2014-10-23 12:31:39    阅读次数:132
[LeetCode]Sqrt(x)
Implement int sqrt(int x). Compute and return the square root of x. 二分法,当无法求得准确值时,去较小值,(同时是最接近的) public class Solution { public int sqrt(int x) { if(x<1) return 0; int left = 1; ...
分类:其他好文   时间:2014-10-22 18:17:03    阅读次数:228
MATLAB light material lighting
clf;[X,Y,Z]=sphere(40);colormap(jet)subplot(1,2,1),surf(X,Y,Z),axis off square,shading interplight('position',[0 -10 1.5],'style','infinite')material ...
分类:其他好文   时间:2014-10-22 12:26:53    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!