%例23-31 罗盘图 x=rand(1,5) y=rand(1,5) subplot(2,1,1) plot(x,y,'ro') grid on subplot(2,1,2) compass(x,y)
米顿罗 源代码
汇集 米顿罗 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
不足千行代码就能实现俄罗斯方块的基本功能。有兴趣的朋友可以把他的功能扩展下。基础学习不错!
%例23-31 罗盘图 x=rand(1,5) y=rand(1,5) subplot(2,1,1) plot(x,y,'ro') grid on subplot(2,1,2) compass(x,y)
──── 兰陵笑笑生·金瓶梅 ──── 第五十八回 潘金莲打狗伤人 孟玉楼周贫磨镜 词曰: 愁旋释,还似织;泪暗拭,又偷滴。嗔怒着丫头,强开怀,也只是恨怀千叠。拚则而今已拚了,忘只怎生便忘得!又还倚栏杆,试重听消息…
syms x1 x2 xk xk2 gk gk2 Gk Gk2 g G i ni zhuan n fx f=x1^2+x2^2+x1*x2; g=jacobian(f); G=jacobian(g); x1=3;x2=-1; gk=subs(g);…
/*求函数y=x1^2+3*x2^2-4x1的极小值*/ #include"stdio.h" #include"math.h" #define N 50 /*a[N]表示梯度,b[N][N]表示Hesse矩阵*/ void function(…
Build Log --------------------Configuration: 哈密顿 - Win32 Debug-------------------- Command Lines Creating temporary file "C…