处理以下代码时,我得到Matrix错误必须同意错误。
E(m+1)=z/w;
工作区虽然清楚地表明z和w的尺寸相同,但是1001x1001。
l=[0:10000];
n=[0:1000];
g=1;
a=-0.5;
b=0.9;
for m=l
xl=cos(2*pi*m*n/10000)';
yl=ex22_1(xl,g,a,b);
%multiplication of matrix with its transpose resolves SUMn(yl[n])^2
z=yl*yl';
w=xl*xl';
E(m+1)=z/w;
end
printf(gcf,'-depsc2',['lti_crazy_function.eps']);
createFigure;
plot(1,10*log10(e),'.');
xlabel('Frequency (Hz)');
ylabel('Magnitude (dB)');
grid on;
任何帮助都将非常感谢,谢谢!
答案 0 :(得分:0)
您可以通过将它们存储在3D矩阵中来创建“矩阵阵列”:
var autoprefixer = require('autoprefixer');
var postCSS = require('postcss');
function prefix(css, res, type, fullPath) {
postCSS([autoprefixer]).process(css).then(function(result) {
var css = result.css;
var length = css.length;
res.writeHead(200, {
'Content-Length' : length,
'Content-Type' : type
});
res.write(css);
res.end();
});
}