Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #8896
| From | Leclerc <gordan.sikic.remove@this.inet.hr> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Sperical and Cartesian Coordinates |
| Date | 2011-08-16 11:33 +0200 |
| Organization | Iskon Internet d.d. |
| Message-ID | <j2ddh6$k99$1@sunce.iskon.hr> (permalink) |
| References | <4e4a3379$0$2559$703f8584@news.kpn.nl> |
On 16.8.2011. 11:07, ldries46 wrote: > I need to convert Spherical and Cartesian coordinates and back. In > MATLAB there are two routines mentioned cart2sph and sph2cart, in > references about these routines C/C++ versions are mentioned . > Is there anyone who knows where to find these routines (in which > library) or where to download them. Also other routines that make the > conversion are welcome. > > L. Dries You don't need libs for something like that. at MATLAB prompt type (without quotes) 'edit cart2sph' and/or 'edit sph2cart', and you will see equations governing transform.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sperical and Cartesian Coordinates "ldries46" <bertus.dries@planet.nl> - 2011-08-16 11:07 +0200 Re: Sperical and Cartesian Coordinates Leclerc <gordan.sikic.remove@this.inet.hr> - 2011-08-16 11:33 +0200 Re: Sperical and Cartesian Coordinates jt@toerring.de (Jens Thoms Toerring) - 2011-08-16 10:51 +0000
csiph-web