Quad function: Evaluate integral Problem

1 回表示 (過去 30 日間)
JoshT_student
JoshT_student 2018 年 7 月 28 日
コメント済み: Star Strider 2018 年 7 月 28 日
Hello, I am trying to evaluate this integral I attached. I made the function and I put the code in the editor to run it. But for some reason I keep getting an error with the function I made. The error is at my expression that I made for some reason. Please help.
Thank you

採用された回答

Star Strider
Star Strider 2018 年 7 月 28 日
You need to do element-wise exponentiation (as well as division, that you already included) in the evaluation of ‘myfunb’:
y = sin(x)./sqrt(1-4*sin(x).^2);
  2 件のコメント
JoshT_student
JoshT_student 2018 年 7 月 28 日
Thank you for your time.
Star Strider
Star Strider 2018 年 7 月 28 日
As always, my pleasure.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by