Please help to solve errors in below code

조회 수: 1 (최근 30일)
mmy
mmy 2020년 4월 11일
편집: darova 2020년 4월 11일
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

채택된 답변

darova
darova 2020년 4월 11일
This is the solution

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by