MATLAB Answers

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

3 views (last 30 days)
Tazen Moushumi
Tazen Moushumi on 11 May 2021
Edited: VBBV on 11 May 2021
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)

Tags

Community Treasure Hunt

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

Start Hunting!