Please help to solve errors in below code

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

 Réponse acceptée

darova
darova le 11 Avr 2020

1 vote

This is the solution

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by