I hope someone can help me.
I have a CSV file with Response and current step parameters. I have to make an RC model in math and find the values ββof R and C.
How can I simulate RC in math and extract parameters from values ββin a CSV file?
I have done this:
Data=Import["T:/file.csv","CSV"];
My data has a header and 2 columns. column for current and column for voltage response.
Voltage=data[[35;;,1]];Current=data[[35;;,2]];
My file has a header, which is why I am writing 35 to remove the header. 

So now I have an RC model with a resistor parallel to the capacitor, and serial with another resistor 
Z= Ri+Rt//Ct --> complex Form (Ri+Rt/1+jwR2Ct)
My math model is as follows:
OutputResponse[StateSpaceModel[TransferFunction[{{Ri+Rt+sRt}/{1+sRt}},s,SamplingPeriod->0.1,SystemsModelLabels->None]],current];
how to extract Ri Rt und Ct from a voltage response to put them in my Transferfunction in order to get the same voltage response as in picture 2
source share