Please help to solve errors in below code

1 view (last 30 days)
mmy
mmy on 11 Apr 2020
Edited: darova on 11 Apr 2020
Erros:
Error using images.internal.imageDisplayParsePVPairs>parseParamValuePairs (line 151)
Function IMAGEDISPLAYPARSEPVPAIRS expected an even number of parameter/value arguments.
Error in images.internal.imageDisplayParsePVPairs (line 134)
[common_args,specific_args] = parseParamValuePairs(varargin(param1_index:end),valid_params,...
Error in images.internal.imageDisplayParseInputs (line 70)
[common_args,specific_args] = images.internal.imageDisplayParsePVPairs(varargin{:});
Error in imshow (line 253)
images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});
Error in mmy (line 70)
imshow(200-uint8(25000*reshape(Phi(:,count),m,n)),'InitialMagnification')
code
[U,S,V] = svd(B,'econ');
Phi = U(:,1:2*N);
Phi(:,1) = -1*Phi(:,1);
figure(2)
count = 1;
for i=1:3
for j=1:3
subplot(3,3,count)
imshow(200-uint8(25000*reshape(Phi(:,count),m,n)),'InitialMagnification',400)
count = count + 1;
end
end

Accepted Answer

darova
darova on 11 Apr 2020
This is the solution

More Answers (0)

Categories

Find more on Image Processing Toolbox 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!