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!