Why I am getting the error "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."

1 次查看(过去 30 天)
for i = 1:NF
err_frame(:,i) = err'((i-1) * (1-OLR) + 1(i-1) * frame_length * (1-OLR) + frame_length);
end

采纳的回答

VBBV
VBBV 2021-5-11
%if true
for i = 1:NF
err_frame(:,i) = err((i-1) * (1-
% ^ ' is used for transpose
OLR) + 1*(i-1) * frame_length * (1-
% ^ implied multiplication
OLR) + frame_length);
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by