Smoothening the data of Iv loop

2 visualizzazioni (ultimi 30 giorni)
Somnath Kale
Somnath Kale il 24 Nov 2020
Commentato: Star Strider il 2 Dic 2020
I have this IV curve data. I want to make smooth for inner loop curve. can some one please suggest how I can proceed?

Risposta accettata

Star Strider
Star Strider il 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 Commenti
Somnath Kale
Somnath Kale il 2 Dic 2020
Modificato: Somnath Kale il 2 Dic 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 il 2 Dic 2020
Somnath Kale —
I very much appreciate your posting that information!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by