Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
please help me ..can not find out the error
조회 수: 1 (최근 30일)
이전 댓글 표시
code:
gradient_sq_minus_value==(I_vertical-
I_horizontal).*(I_vertical+I_horizontal);
(gradient_for_bg_under) = (I_horizontal.*I_horizontal) +
(I_vertical.*I_vertical);
Error: File: fingerprintmatching.m Line: 72 Column: 40
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched
delimiters.
댓글 수: 0
답변 (1개)
Geoff Hayes
2020년 4월 21일
indrani - the error in this code
gradient_sq_minus_value==(I_vertical-
I_horizontal).*(I_vertical+I_horizontal);
(gradient_for_bg_under) = (I_horizontal.*I_horizontal) +
(I_vertical.*I_vertical);
may be due to formatting or may be due to the parentheses around the variable gradient_for_bf_under while being assigned the value. Try using the following instead
gradient_sq_minus_value == (I_vertical-I_horizontal).*(I_vertical+I_horizontal);
gradient_for_bg_under = (I_horizontal.*I_horizontal) + (I_vertical.*I_vertical);
For gradient_sq_minus_value, do you really mean to use equality == ?
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!