Hi,
I'm using the load external image example to try and load my own CT slice.
I changed loadImage to dicomread and Nx;Ny = 512 instead of 128 to match my image.
I got this error and I don't know how to fix it:
Error using .*
Integers can only be combined with integers of the same class, or scalar doubles.
Error in smooth (line 134)
mat_sm = ( max(abs(mat(:))) ./ max(abs(mat_sm(:))) ) .* mat_sm;
Error in kspaceFirstOrder_inputChecking (line 1540)
source.p0 = smooth(source.p0, true);
Error in kspaceFirstOrder2D (line 537)
kspaceFirstOrder_inputChecking;
Error in example_ivp_loading_external_image (line 61)
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor);
Thank you in advance