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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
