Write a MATLAB Function takes x as the argument and calculates "y" by using the relation: y=x/2+x^2/4+x^3/8+x^4/16+...
조회 수: 2 (최근 30일)
이전 댓글 표시
i am unable to do this question, pls help.
댓글 수: 2
James Tursa
2019년 7월 30일
편집: James Tursa
2019년 7월 30일
What have you done so far? What specific problems are you having with your code? Do you know how to write a MATLAB function file? See this link:
https://www.mathworks.com/help/matlab/ref/function.html?searchHighlight=function&s_tid=doc_srchtitle
채택된 답변
Alex Burbee
2019년 7월 30일
function y = solveEQU(x)
y =
%type your equation you want to solve
end
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!