我在 MATLAB 中输入了这个:
clc
clear all
close all
u=1e-15:0.001:1;
for u=0.00000000001:0.001:1;
w=int(exp(-u)/u,u,Inf);
end
figure;
plot(u,w)
grid on;
title('plot of W(u), u less 1');
ylabel('W(u)');
xlabel('different values of u');`
在此期间......我得到了错误
Undefined function or method 'int' for input arguments of type 'double'
谁能帮我..?