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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Taqi Zaidi
il 30 Lug 2019
Commentato: Walter Roberson
il 30 Lug 2019
i am unable to do this question, pls help.
2 Commenti
James Tursa
il 30 Lug 2019
Modificato: James Tursa
il 30 Lug 2019
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
Risposta accettata
Alex Burbee
il 30 Lug 2019
function y = solveEQU(x)
y =
%type your equation you want to solve
end
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!