Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (2)

rania
rania on 23 Sep 2013
this is what I want to get in the end

ES
ES on 23 Sep 2013
Use Differentiation function if you are looking for that. That is what i could infer from your question.
  1 Comment
Walter Roberson
Walter Roberson on 23 Sep 2013
If the N are in a text file, my interpretation would be that numeric solutions are required, such as by using gradient()

Community Treasure Hunt

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

Start Hunting!