Author Topic: equation in matlab  (Read 3269 times)

theo23

  • User
  • *
  • Posts: 1
equation in matlab
« on: February 24, 2009, 10:11:12 AM »
hi, I have this equation and i want to insert it in matlab..Which is the best way to insert it?
Cdot=qAL∂/∂v∫(1/(1+(exp(E-qVdot)/kT))*(gNdot/sqrt(piM/2))*exp(-2((E+Edot+qVdot)/M)^2)dE.
Where vdot is the voltage across the quantum dots,L is the level arm coefficient,Edot is the confined energy level,M is the energy dispersion and ndot is the total number of dots.
Now i want to insert it for vdot(-12:0.05:2),and the integral is [0,inf] with respect to E.
Also,A=12.56e-4,L=0.44;,G=2,T=300,q=1.6e-19,k=8.62e-5

The idea of this exercise is to insert the theoretical Cdot(Matlab),with the results which it'll give me,i want to create a theoretical graph with axis x(v) and y(Cdot).Finally this graph i want to compare it with one experimental graph which i have.Summary,my goal is to find the best combination of ndot,M,edot in which the theoretical graph to be quite similar to experimental graph(sorry for my bad English).
Do you want to post my code which i created?
Thank you!

Gillius

  • Administrator
  • User
  • *****
  • Posts: 147
    • http://www.gillius.org/
Re: equation in matlab
« Reply #1 on: February 27, 2009, 10:22:39 AM »
I'll have to admit I'm not totally sure what you mean, but this site is more about C/C++/Java/C# type of programming. I do know about Matlab and work with some people proficient in it, but I don't know how to work with it myself.
Gillius
Gillius's Programming http://www.gillius.org/