How can I write a spesific math function, can anyone help?

I want the program to calculate dV(r)/dLnr= V(r)dN(r)/dLnr, where dN/dr = number distribution and I have the "N" in ".txt" files.. How can I write that code? (I know how to define the pathname, in order to open the folder with the txt files).How can I define the "ln" and the "d/dr"? and then I must plot dV(r)/dLnr= V(r)dN(r)/dLnr -Yaxis, radius-Xaxis, x-axis has just numbers from 0.0 to 18.0 um. I wasn't very clear, was I? I'm sorry, but I m realy confused.:( if anyone can give any Ideas, it woyld be very helpful.

Respuestas (2)

rania
rania el 23 de Sept. de 2013
this is what I want to get in the end
ES
ES el 23 de Sept. de 2013
Use Differentiation function if you are looking for that. That is what i could infer from your question.

1 comentario

If the N are in a text file, my interpretation would be that numeric solutions are required, such as by using gradient()

La pregunta está cerrada.

Preguntada:

el 23 de Sept. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by