| Discussion: | All Topics |
| Topic: | how to use the program editor on voyage |
| Post a new topic to the General Discussion in Calculus on TI Calculator discussion |
| ||||
| Subject: | how to use the program editor on voyage |
| Author: | paal |
| Date: | Jan 5 2010 |
program editor. i am a user of matlab and i need to write som big functions. but
i havent figured out the logic of the program editor application. i know how to
use the "define function" tool, but it is not practical with these function i am
to write.
An example with a matlab function:
function [phi,lam,h]=ECEF2ell(a,b,X,Y,Z)
lam=atan(Y/X);
phi=atan(Z/(sqrt(X^2+Y^2))); %lat(0)
N=nrad(a,b,phi);
for i = 1:5
phi=atan(Z/(sqrt(X^2+Y^2))+(N*((a^2-b^2)/a^2)*(sin(phi)))/(sqrt(X^2+Y^2)));
%lat(1)
N=nrad(a,b,phi);
end
h=(sqrt(X^2+Y^2))*cos(phi)+(Z*(sin(phi)))-N*(1-((a^2-b^2)/a^2)*(sin(phi))^2);
end
i want to program this on ti voyage 200. can somebody help me to program this or
tell me the logic behind the program editor on ti voyage?
lot of thanks to anyone that helps
Paal
| |||||||
| Post a new topic to the General Discussion in Calculus on TI Calculator discussion | |||||||
| Visit related
discussions: Calculus Texas Instruments Tools | |||||||