Smoothening the data of Iv loop

4 views (last 30 days)
I have this IV curve data. I want to make smooth for inner loop curve. can some one please suggest how I can proceed?

Accepted Answer

Star Strider
Star Strider on 24 Nov 2020
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 Comments
Somnath Kale
Somnath Kale on 2 Dec 2020
Edited: Somnath Kale on 2 Dec 2020
@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 on 2 Dec 2020
Somnath Kale —
I very much appreciate your posting that information!

Sign in to comment.

More Answers (0)

Categories

Find more on Instrument Connection and Communication in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!