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

1 view (last 30 days)
for i = 1:NF
err_frame(:,i) = err'((i-1) * (1-OLR) + 1(i-1) * frame_length * (1-OLR) + frame_length);
end

Accepted Answer

VBBV
VBBV on 11 May 2021
%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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!