搜索资源列表
用c编写的N*N的螺旋矩阵源代码
- /* 实现效果: 1 2 6 7 15 3 5 8 14 16 4 9 13 17 22 10 12 18 21 23 11 19 20 24 25 */ #include <stdio.h> #define N 5 //阶数,即N*N的螺旋矩阵 void main() { int i, j, num=1, a[N][N]; for(i=0; i<=N/2; i++) &nb
reply_1_855734
- // Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow, double dRatHigh, LPBYTE pResult) { //经过高斯滤波后的图像 LPBYTE pGaussSmooth pGaussSmooth = new unsigned char[sz.cx*sz.cy] //x方向导数的指针 int *pGradX pG
zhaoyingN!
- 用数组实现的N!算法,可以算2000多,希望大家喜欢-achieve with the array of N! Algorithms can count more than 2,000, hope you like
利用回溯算法数独游戏解算C++代码
- 利用回溯算法数独游戏解算C++代码,能够较快的求解出数独问题,The use of backtracking algorithm solving sudoku C++ code, can be faster to solve a sudoku problem
naviga090205.rar
- 捷联惯性导航的仿真程序用四元数法的捷联惯性导航姿态解算程序资源大小:...用四元数法进行姿态解算的matlab程序,Strapdown inertial navigation simulation program
Sodoku
- 数独游戏解算C++代码,在vc6.0上运行,控制台,使用回溯法解决,首先输出的是一个满足规则的数独例子,接着可以自己输入已知点的个数及其坐标、数字(要求不能违反规则),然后会生成满足条件的一个例子。-Sudoku solver C++ Code, in vc6.0 run on the console, use backtracking to solve, first of all to meet the output is a single example of a few rules, an
20090612
- 算符优先算法,输入文法数和文法,自动分析生成firstVT和lastVT,并显示表,输入字符串,判断该字符串是否符合要求-Operator priority algorithm, the number of input grammar and the grammar, generate automatic analysis firstVT and lastVT, and display the table, enter the string to determine whether it mee
Binary_Tree
- 数算的二叉树的POJ作业,分别有:二叉树1_二叉树的操作;二叉树2_文本二叉树;二叉树3_由中根序列和后根序列重建二叉树;二叉树4_表达式.表达式树.表达式求值;二叉树5_Huffman编码树;二叉树6_二叉搜索树;二叉树7_实现堆结构-Count of the binary tree POJ jobs
Binary-Tree
- POJ 文本二叉树 总的来说,又是数算作业啦啦啦(是自己写的哦~~~)-POJ text binary tree in general, but also to count jobs la la la (write by myself own oh ~ ~ ~)
mpu6050
- MPU6050经过互补滤波和四元数转换为欧拉角 得到稳定的三轴角度(MPU6050 is converted to Euler angles by complementary filtering and four element number to obtain a stable three axis angle)
93317476matlab
- 四元数解算姿态程序,可以帮助用户做惯性导航的姿态解算(Four element counting gesture program Can help users do inertial navigation attitude calculation)
惯性导航四元数法
- 主要利用四元数来解算姿态角,并实时更新四元数,然后实时更新姿态角。(The attitude angle is calculated by four variables, and the four variables are updated in real time, and then the attitude angle is updated in real time.)
惯性导航中加速度计和陀螺仪性能研究_徐东升
- 通过利用陀螺仪数据来解算和更新四元数,进而来计算姿态角。(The attitude angle is calculated by using the gyro data to solve and update the number of four variables.)
H9
- 谢尔排序,快速排序以及归并排序的三个Python程序(Shell sorting, quick sorting and merge sort of three Python program)
链表等
- python基础功能的ADT实现代码,数算必会。以及无序表等实现方法(The basic Python functions to achieve the ADT code, the number will be. And unordered table and other implementation methods)
四元数解算姿态Matlab程序代码
- 四元数是简单的超复数。 复数是由实数加上虚数单位 i 组成,其中i^2 = -1。 相似地,四元数都是由实数加上三个虚数单位 i、j、k 组成,而且它们有如下的关系: i^2 = j^2 = k^2 = -1, i^0 = j^0 = k^0 = 1 , 每个四元数都是 1、i、j 和 k 的线性组合,即是四元数一般可表示为a + bk+ cj + di,其中a、b、c 、d是实数。 对于i、j、k本身的几何意义可以理解为一种旋转,其中i旋转代表X轴与Y轴相交平面中X轴正向向Y轴正向的旋转,j
魔方阵
- 输入魔方阵阶数,自动输出,可以计算1-200阶的魔方阵(put the number of magic square array, automatic output, can calculate the 1-200 order of the magic square array)
dist
- 用最短路径算法算出特定两点之间的距离 输入:直接读取net.in文件 第一行为四个整数N,M,S,T,每两个整数之间用一个空格隔开,分别表示网络的节点(编号为1到N),网络线段数,以及起点终点编号 接下来M行,每行三个整数U,V,D,每个整数之间用空格隔开,表示节点U和V之间有一条线路相连,距离是D,(两个节点可能有多条线路) 输出:直接写入到net.out文件,输出只有一行,表示从S点到T点的最短距离(如果不通则输出-1) (N<=100,M<=N*N,D<=100
大地主题解算
- 实现高斯引数法和白塞尔方法正反算,带C#窗口(Gauss and Searl white argument method and inverse calculation)
四元数程序与惯组数据
- 姿态解算 四元数公式文件代码为 function dq=MyQuaternion(t,q,Wmx,Wmy,Wmz) dq=zeros(4,1); dq(1)=1/2*(-Wmx*q(2)-Wmy*q(3)-Wmz*q(4)); dq(2)=1/2*(Wmx*q(1)+Wmz*q(3)-Wmy*q(4)); dq(3)=1/2*(Wmy*q(1)-Wmz*q(2)+Wmx*q(4));