필터 지우기
필터 지우기

Quad function: Evaluate integral Problem

조회 수: 2 (최근 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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by