필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

can someone debug this code/function ?

조회 수: 1 (최근 30일)
Kevin Junior
Kevin Junior 2016년 10월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
function f = lion(x,A,r1,r2)
y = A\r1;
z = A\r2;
f = (y(1)*x.^2 + y(2)*x).*cos(z(1)*x + z(2));
return;
A, r1 and r2 are given matrices and y and z are such that Ay = r1 and Az = r2. I am trying to compute the integral of this function using some technique from class. apparently there is somethig=ng wrong with this function.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by