Hi Viki,
You can calculate the I-V curve from the differential conductance (dI/dV) vs. energy plot using the cumtrapz() function in MATLAB. This function performs numerical integration to obtain the current (I) as a function of voltage (V):
% Given data
dIdV = [10, 10, 10, 10]; % Differential conductance
Energy = [2, 4, 6, 8]; % Voltage values
% Integrate to get I-V curve
I = cumtrapz(Energy, dIdV);
plot(Energy, I, '-o', 'LineWidth', 2);
xlabel('Voltage (V)');
ylabel('Current (I)');
title('I-V Curve from Differential Conductance');
Refer to the below MATLAB documentation to read more about "cumtrapz" function:
I hope this helps!