Hey Dang,
The error you're encountering is due to the imfilter() function expecting its first input to be of a numeric or logical type, but it's receiving a fixed-point type (embedded.fi).
Convert the fixed-point data to a floating-point type such as double or single before passing it to imfilter().
if isa(A, 'embedded.fi')
A = double(A); % Convert to double if it's a fixed-point type
end
filtered_image = imfilter(A, h);
Please refer to below documentation for more clarity:
Hope this helps!
