I would like to calculate the resistance of the diode and would like to know if the reasoning I have done is correct:

- the resistance is the inverse of the slope of the I-V curve (inverse because the current is in the ordinates and the voltage is in the abscissas) .. i.e. on Excell I will calculate the resistance as =1/SLOPE(y_values ; x_values) .. so 1/SLOPE(current_values ; voltage_values) where current_values and voltage_values are all values measured in the lab.

The scalar number I get is therefore the resistance of the diode (in formward conduction)?

Am I doing something wrong?