我想找到在图中绘制时给出相同值(x 轴和 y 轴)的乘法。有没有最简单的方法可以找到?我用过 find 但 matlab 告诉我这个论点是错误的。
for i = 1:size(B,1)
p1 = A * B(1,:)' -A * B(i,:)';
dtransformation0a(i) = d*p1;
qtransformation0a(i) = q*p1;
p2 = A * B(2,:)' -A * B(i,:)'
dtransformation0b(i) = d*p2;
qtransformation0b(i) = q*p2;
p3 = A * B(3,:)' -A * B(i,:)';
dtransformation0c(i) = d*p3;
qtransformation0c(i) = q*p3;
Nx=length(dp);
Ny=length(qp);
for i=1:Nx
If dp(i)=qp(i)
samevalue=dp(i)
Nsamevalue=i
end
figure
scatter(dtransformation0a,qtransformation0a,100,'b.')
hold on
scatter(dtransformation0b,qtransformation0b,100,'b.')
hold on
scatter(dtransformation0c,qtransformation0c,100,'b.')
hold on