Info

此问题已关闭。 请重新打开它进行编辑或回答。

troubles with ginput function

1 次查看(过去 30 天)
Radu Trimbitas
Radu Trimbitas 2023-1-20
关闭: dpb 2023-1-20
I have troubles with ginput under Windows 11. A lot of MATLAB code which works well under Windows 10 does not function correctly under Windows 11. What can I do? I suppose this is not a MATLAB problem.
for example the following code
close all
axis([0,1,0,1])
[x,y]=ginput();
m=length(x)-1;
tn=0:m;
t=linspace(0,m,500);
xg=spline(tn,x,t);
yg=spline(tn,y,t);
plot(x,y,'o',xg,yg)

回答(0 个)

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by