摘要: 以下面这个题目为例:char* a[]={"hello","the"};char**pa=a;pa++;couta/a[0]->"hello";pa+1->a[1]->"the";*(pa+1)->"the";*(pa+1)+1->h的地址int a[]={1,2,3,4,5};a+1->2;&a+1:此时1不在是往下移动1位而是往下移动一个数组长度。 阅读全文
posted @ 2013-09-09 17:37 ziyou4444 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 主程序clc,clear all%x0是实际历史值xi是第i个模型的预测值x0=[70.8577.2495.01104.21126.21162.16181.87208.69249.1284.58308.64347.98391.14357.85391];x1=[49.8817353371.6323601694.03370049117.1052239140.8669802165.3396192190.5444085216.5032518243.2387084270.7740121299.1330921328.3405934358.4218983389.4031485421.3112676 454. 阅读全文
posted @ 2013-06-03 21:46 ziyou4444 阅读(778) 评论(0) 推荐(0) 编辑