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)
Show older comments
for i = 1:NF
err_frame(:,i) = err'((i-1) * (1-OLR) + 1(i-1) * frame_length * (1-OLR) + frame_length);
end
0 Comments
Accepted Answer
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
2 Comments
More Answers (0)
See Also
Categories
Find more on NaNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!