代码没问题,如何在这个基础上加上三个数据
1.可以得到这个图像t趋近于无穷大的G数据
2.可以得到这个图像上升时间(Rise time),上升时间在百分之10-90之间
3.可以得到这个图像稳定时间(settling time),稳定时间在百分之98这个点
R = 15; % load resistance
L = 4; % Load inductance
Vstep = 15; % step change in the dc voltage from zero to the given value
K=1/R; % steady state gain
T=L/R; % time constant
s = tf('s') ;% define s as a variable for transfer function
G=K/(1+s*T); % transfer function of transient current
step(Vstep*G)% step response of current
grid on
ylabel('i(t) [A]')
xlabel('time [s]')
title('Variation of current across time')
我试着增加一条蓝线。line([x x ],[y y]...) 实际把y替换为计算坐标。
再曲线点数据游标(+) 即看显示则自动标注。
line([0.35 0.35],[0.0 0.98],'LineWidth',2,'Color',[0 0 1])
line([0.0 0.35],[0.98 0.98],'LineWidth',2,'Color',[0 0 1])
matlab神经网络所有传递函数(激活函数)公式详解
https://blog.csdn.net/dbat2015/article/details/125463318