필터 지우기
필터 지우기

Smoothening the data of Iv loop

조회 수: 1 (최근 30일)
Somnath Kale
Somnath Kale 2020년 11월 24일
댓글: Star Strider 2020년 12월 2일
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개)

카테고리

Help CenterFile Exchange에서 Instrument Connection and Communication에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by