diff函数试下。
如何得到电流-电压曲线的一次微分曲线呢。
6 ビュー (過去 30 日間)
古いコメントを表示
本人的实验数据是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的程序,接下来不会写了,请大佬帮帮忙。
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!