How to differentiate the data in excel using a variable?
Ältere Kommentare anzeigen
Hello all,
I am trying to do a differentiation of a variable in excel data with respect to an other variable. For example in my case, the data which has a name in Y in excel has to be differentiated with respect to X. and I need each value after differentiation. Can someone please tell me how can i do it. I am attaching the excel data.
5 Kommentare
mahmoud abd elrehem
am 19 Nov. 2022
write "doc differentiate " in command window
Vishnuvardhan Naidu Tanga
am 19 Nov. 2022
Jan
am 19 Nov. 2022
Is importing the data into Matlab a part of the problem? If so, what have you trired so far? If not, why does it matter if the values are commning from an Excel file?
The gradient() command calculates a derivative.
Vishnuvardhan Naidu Tanga
am 19 Nov. 2022
Jan
am 20 Nov. 2022
If you have imported the data already, it is useful to post a small example, how they are represented in Matlab.
You asked for a differentiation at first, but now for an integration. While gradient(x,t) does the first, trapz(x,t) does the second.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
