绝版的青春

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年11月12日

摘要: 使用矩阵的逻辑索引在选出A矩阵中与B矩阵内非零值位置相同的元素,为一列向量。所以不是根据值来的,而是根据位置来的。B是一个矩阵由逻辑0和1组成。即B中为非零的位置,就是要选出的A元素位置。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--A=[123... 阅读全文
posted @ 2010-11-12 16:18 梧桐西道 阅读(80) 评论(0) 推荐(0)

2010年8月19日

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--moduletest2(clk,reset,ena,out1,out2,out3);inputclk,reset,ena;output[3:0]out1,out2,out3;parameters1=3... 阅读全文
posted @ 2010-08-19 21:26 梧桐西道 阅读(80) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示