Function computation in Matlab
Ältere Kommentare anzeigen
Hei!
I am trying to compute the following function
function [x,y] = f(z) x=cos(z)*2; y=sin(z)*2; end
The answer I get in the end (z=50) is x=-1.904825 and y=-0.60962. But this answer is not correct.
Can somebody tell me where I did mistake?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Install Products finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!