如何得到电流-电压曲线的一次微分曲线呢。

本人的实验数据是TXT文件格式的,两列数据分别是电流和电压,怎么对电流电压曲线取微分,得到一次微分曲线呢?
plot(TXT(:,1), TXT(:,2))
xlabel('votage(V)')
ylabel('current(nA)')
figure;
plot(TXT(:,1), smooth(TXT(:,2),17,'sgolay',2))
xlabel('votage(V)')
ylabel('smoothed current(nA)')
legend('17')
这是画图和smooth的程序,接下来不会写了,请大佬帮帮忙。

 채택된 답변

bitsisqer
bitsisqer 2023년 5월 17일

0 개 추천

diff函数试下。

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Legend에 대해 자세히 알아보기

질문:

2023년 5월 17일

답변:

2023년 5월 17일

Community Treasure Hunt

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

Start Hunting!