⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mtimes_001.m

📁 浮点fir设计工具
💻 M
字号:
function outputC = mtimes_001( inputA, inputB )
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%       AccelDSP 9.1.00 build 868 Production, compiled Feb 16 2007 
% 
%    THIS IS UNPUBLISHED, LICENSED SOFTWARE THAT IS THE CONFIDENTIAL 
%        AND PROPRIETARY PROPERTY OF XILINX OR ITS LICENSORS 
% 
%      Copyright(c) Xilinx, Inc., 2000-2007, All Rights Reserved. 
%   Reproduction or reuse, in any form, without the explicit written 
%          consent of Xilinx, Inc., is strictly prohibited. 
% 
%  User: WangQian 
%  Machine: A2D3DF917F70473 (i1586, Windows XP Service Pack 2, 5.01.2600) 
%  Date: Mon May 12 10:56:57 2008 
% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  AccelWare Function: Mtimes                                                  
%  AccelDSP Version: 9.1.00 build 868 Production                               
%  AccelWare Version: 9.1.00 build 868 Production                              
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  colsa: Number of columns in the A input.
%		value used "16"
%  colsb: Number of columns in the B input.
%		value used "1"
%  implementation: Select Architectural Implementation (currently only one implementation).
%		value used "default"
%  rowsa: Number of rows in the A input.
%		value used "1"
%  rowsb: Number of rows in the B input.
%		value used "16"
%  speedarea: Allows for various combinations of resource-sharing and pipelining.  It is a starting point and can be changed with directives.
%		value used "resource shared / non-pipelined"
%  type: double, galoisfield or complex.
%		value used "double"
%
accum = 0;
for accumindex = 1:16
   prod1 = inputA(1,accumindex) * inputB(accumindex,1);
   accum = prod1 + accum;
end
outputC = accum;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -