摘要: Subscript. indices must either be real positive integers or logicals中文解释:下标索引必须是正整数类型或者逻辑类型出错原因:在访问矩阵(包括向量、二维矩阵、多维数组,下同)的过程中,下标索引要么从 0 开始,要么出现了负数。注:解决办法:自己调试一下程序,把下标为 0 或者负数的地方修正。举例:【错误代码】:代码:for s = 0:0.2:2a(s) = 4 * s - 1;end【正确代码】:代码:for s = 1:10a(s) = 4 * s - 1;end当然,这样的赋值使用循环是低效的,因此不提倡Undefined 阅读全文
posted @ 2012-09-19 17:00 微雪 阅读(3018) 评论(0) 推荐(0)
摘要: A reporter's high-profile resignation has provoked pessimism about the future of China's news media.resignation:辞职,放弃,顺从 pessimism:悲观,厌世主义Recently, Jian Guangzhou (@简光洲), one of the most reputed investigative journalists in China, quit the Oriental Daily (@东方早报) and announced he was ending h 阅读全文
posted @ 2012-09-19 09:17 微雪 阅读(419) 评论(0) 推荐(0)