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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 9 月 16 日

0 投票

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

2 件のコメント

Maria V Alberico
Maria V Alberico 2017 年 9 月 17 日
Thank you but it's still not working.
Walter Roberson
Walter Roberson 2017 年 9 月 17 日
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeApp Building についてさらに検索

タグ

質問済み:

2017 年 9 月 16 日

コメント済み:

2017 年 9 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by