Calculating integral from data over time - solved
33 次查看(过去 30 天)
显示 更早的评论
Meybe I'm stupid, but, cumtrapz give me a table, I used it for further calculation - meybe it will be F - I don't have time to stay in this point forever
Hi,
I am completely new to the matlab environment, but the current studies threw me into the deep water right away, and on the previous ones they did not even show us a pond.
I have problem like this. I have experimental data -just record of V(t) and I(t) (both around 1000 pints), frequency equals 4800 Hz and I think it is all that is needed for this question. All in AC regime.
I need to calculate
integral V(t) dt
, and to be honest, I don't even know how to start. I found out on the forum, that this integral is equal to:
integral V(t) dt = k * i(t)
Also my teacher mentioned in the email that I should get some integration constant from this and as I looked through further equations k will be needed.
I've been browsing forums and google for the third day, all trapz, cumtrapz are not useful for me, or I don't know how to get the data I need from them. Ordinary integrals do not work when I do not have a formula, and unfortunately, it cannot be derived from the data I have - the sensors simply have their measurement errors and the formulas do not agree with the graphs I got by calculating the time of subsequent measurements from period.
I would also like to add that in later calculations I multiply by the result of this integral, as long as the trapz did it here, because I got one number, not a table as in the case of cumtrapz, the result was completely different from the actual measurements I could find in the textbooks.
Please give me some tips on what I should be looking at or what I have missed.
Thanks in advance
2 个评论
Mathieu NOE
2020-11-9
hello
so what are your experimental data look like and what code have you already produced ?
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!