E(z)=(lamb​da*z*R)/(2​*E_initial​*((z.^2+R^​2)^(3/2)))

Answers (1)

E = (lambda .* z .* R) ./ (2 .* E_initial .* ((z.^2 + R.^2).^(3/2)))

2 Comments

Thank you but it's still not working.
What are the values for your variables? What result are you getting? What result do you expect to see?
Perhaps you need
E = @(z) (lambda .* z .* R) ./ (2 .* E_initial .* ((z.^2 + R.^2).^(3/2)))
if you are trying to create a function

Sign in to comment.

Categories

Find more on App Building in Help Center and File Exchange

Tags

Asked:

on 16 Sep 2017

Commented:

on 17 Sep 2017

Community Treasure Hunt

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

Start Hunting!