摘要: matlab矩阵应用clear%建立矩阵的两种方式A1 = [1 2 3 4 5; 6 7 8 9 10];A2 = [ 1 2 3 4 5 6 7 8 9 10 ];%一种是换行用引号,一种是自然写法clearA = [5 4 3 2 1; 6 7 8 9 10;1 2 3 4 5;24 24 24 24 24;25 25 25 25 25];B = [5 4 3 2 1; 6 7 8 9 10;1 2 3 4 5;24 24 24 24 24;25 25 25 25 25];A_sqare = [1 2 3 4 5;6 7 8 9 10;11 12 13 14 15;16 17 18 19 阅读全文
posted @ 2011-06-15 22:20 Livesss 阅读(1840) 评论(0) 推荐(0) 编辑
摘要: 今天看到博客,然后发现一个比较有意思的程序。就是没搞懂为什么是这样,还是直接上代码吧,//test.c#include <stdio.h>#include "C:/define.h"#define SIZE sizeof(int)int main(int argc, char *argv[] ){ printf("%ld",UINTMAX); printf("/nThe size of int in this system is:%d",INTLEN); getch(); return 0 ;} 在C盘下面创建一个defi 阅读全文
posted @ 2011-06-15 22:17 Livesss 阅读(215) 评论(0) 推荐(0) 编辑