Smoothening the data of Iv loop

3 次查看(过去 30 天)
I have this IV curve data. I want to make smooth for inner loop curve. can some one please suggest how I can proceed?

采纳的回答

Star Strider
Star Strider 2020-11-24
That looks like a hysteresis loop. See if the approach in how to find ascending and descending of hysteresis loop? will fit it and do what you want.
  8 个评论
Somnath Kale
Somnath Kale 2020-12-2
编辑:Somnath Kale 2020-12-2
@Star Strider
As always,. Thank you Very much! looking forward to receive such valueble info from you!!
I just have one dobut if the size of the matrix is not known prioly then? im collecting data from instrument so sometime its more than 10000 pts. if i have given extra large matrix size my data will be zero for empty cell. and then it will be problematic while plotting. this is also may be problamatic in plotting with live charts?(not clear to me)
Answer to your Question
I follwoed the following steps to connect my instrument with GPIB:
1) install drivers for GPIB
2) Establish the connection of instrument with computer first.(Ex. in case of NI GPIB-USB conertor check the connection using Ni Max app which will be atomatically installed while installing then drivers)
3) then install the Intrument control toolbox in your matlab
4) open intrument control toolbox and checked the connection again.
5) simply copy and paste the following code in your command window. (dont forget to change the Gpib Add. of intrumnt here my device have gpib add of 12)
To connect the Nanovolmater
% Find a GPIB object.
Voltmeter = instrfind('Type', 'gpib', 'BoardIndex', 0, 'PrimaryAddress', 12, 'Tag', '');
% Create the GPIB object if it does not exist otherwise use the object that was found.
if isempty(Voltmeter)
Voltmeter = gpib('NI', 0, 12);
Status2 = "Device not found"
else
fclose(Voltmeter);
Voltmeter = Voltmeter(1);
Status2 = "Device connected"
end
% Connect to instrument object, Voltmeter
fopen(Voltmeter);
% Communicating with instrument object, Voltmeter
fprintf(Voltmeter, '*idn?');
ConnectedDevice2 = fscanf(Voltmeter)
fprintf(Voltmeter, '*rst');
6) this will do everything atomatically and reset your device if connection establish by the step 1 2 and 3 are fine
7) now your ready to communictae with your instrument. just enetr your acpi command in fprintf function.
I hope this will be really helpful even for beiginers !!
Star Strider
Star Strider 2020-12-2
Somnath Kale —
I very much appreciate your posting that information!

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by