Info

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

How can I find the value of this coefficient using MatlabR2010a?

1 view (last 30 days)
Hi Everybody,
I am trying to solve this expression and find out value of P.
The expression is :
n = (k1/sqrt(P))*exp(-(x^2)/(P*k2));
'n' is a matrix of size (1,101).
'x' is a matrix of size (1,101).
I know the constant values k1 and k2.
I want to determine P.
How can I do it in Matlab?
Thank you for your help.
Regards Padmalochana
  4 Comments
Padmalochana
Padmalochana on 27 Mar 2014
here are some values of 'n' and 'x'.
n = [1061.76 1061.76 1061.76 1061.76 0 0 1061.76 4247.04 3185.28 0 3185.28 2123.52 5308.81 7432.33 9555.86 12741.14 11679.38 20173.48 12741.14 36099.92 28667.58 23358.77 46717.54 52026.35 63705.74 61582.21 86002.75 86002.75 110423.28 118917.38 132720.30 134843.82 163511.40 156079.07 202796.61 191117.23 218723.05 263317.07 230402.44 268625.88 251637.68 270749.41 263317.07 282428.79 302602.28 316405.19 307911.09 347196.30 329146.34 337640.44]
x = [-0.04515 -0.04421 -0.04327 -0.04232 -0.04138 -0.04044 -0.03950 -0.03856 -0.037620 -0.03667 -0.03573 -0.03479 -0.03385 -0.03291 -0.03196 -0.03102 -0.03008 -0.02914 -0.02820 -0.02726 -0.02631 -0.02537 -0.02443 -0.02349 -0.02255 -0.02160 -0.02066 -0.01972 -0.01878 -0.01784 -0.01689 -0.01595 -0.01501 -0.01407 -0.01313 -0.01219 -0.01124 -0.01030 -0.00936 -0.00842 -0.00748 -0.00653 -0.00559 -0.00465 -0.00371 -0.00277 -0.00183 -0.00088 5.30130 0.00099]

Answers (0)

Community Treasure Hunt

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

Start Hunting!