摘要:
>> all([1 2 3 9;4 5 0 9;1 2 3 4]) ans = 1 1 0 1 >> all([1 2 3 9;4 5 0 9;1 2 3 4],1) ans = 1 1 0 1 >> all([1 2 3 9;4 5 0 9;1 2 3 4],2) a... 阅读全文
posted @ 2012-03-24 19:45
catmelo
阅读(3120)
评论(0)
推荐(0)
摘要:
/**********DS18B20.h**********/ #include "REG52.H" #include "INTRINS.H" sbit DQ = P3^3; //DS18B20的数据口位P3.3 extern unsigned char TPH;// 温度高位 extern unsigned char TPL;// 温度低位 extern unsig... 阅读全文
posted @ 2012-03-24 09:33
catmelo
阅读(548)
评论(0)
推荐(0)
摘要:
/******************************* * LCD1602.h * *******************************/ #define uchar unsigned char #define uint unsigned int #define lcd_data P1 //LCD1602 数据传输口 sb... 阅读全文
posted @ 2012-03-24 09:25
catmelo
阅读(1131)
评论(0)
推荐(0)
摘要:
先看效果 再上代码 [x,y,z]=meshgrid(linspace(-3,3,120)); f=(x.^2+(9*y.^2)./4+z.^2-1).^3-((9*y.^2).*(z.^3))./80-(x.^2).*(z.^3); p=patch(isosurface(x,y,z,f,0)); set(p,'FaceColor','r') grid on ... 阅读全文
posted @ 2012-03-24 09:12
catmelo
阅读(7831)
评论(0)
推荐(0)

浙公网安备 33010602011771号