Rank: 551 based on 124 downloads (last 30 days) and 6 files submitted
photo

Richard Rieber

E-mail
Company/University
Jet Propulsion Laboratory
Lat/Long
34.147236, -118.144264

Personal Profile:

Engineer at NASA's Jet Propulsion Laboratory.

All of my functions I wrote in college and I am not actively maintaining them, but I will respond to requests for help, improvements, and fix bugs.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Richard View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Jan 2010 Kronecker Delta Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. Author: Richard Rieber kronecker delta, mathematics 8 4
  • 2.33333
2.3 | 3 ratings
01 Oct 2009 Screenshot Orbital Mechanics Library A compilation of all of the functions I wrote for my orbital mechanics class Author: Richard Rieber orbital mechanics, mechanics, kepler, aerospace, orbits cartesian, aerodef 62 9
  • 2.85714
2.9 | 7 ratings
18 Jun 2007 Screenshot Polar contour plot Creates a contour plot from polar coordinates Author: Richard Rieber contour, graphic, polar, plotting, plot, specialized 15 6
  • 4.4
4.4 | 5 ratings
26 Dec 2006 Screenshot point.m Plots circles for data points w/ diameter proportional to magnitude Author: Richard Rieber annotation, customization, data points, scatter, magnitude, graphics 1 0
  • 5.0
5.0 | 1 rating
09 May 2006 Standard Atmosphere Calculator Calculates pressure, density, temperature, and speed of sound as a function of height. Author: Richard Rieber aerospace, aeronautics, aerodef, atmosphere, standard, altitude 21 8
  • 2.9
2.9 | 10 ratings
Comments and Ratings by Richard
Updated File Comments Rating
23 Apr 2011 BreakXAxis Inserts < // > into a 'broken' or discontinuous x-axis. Author: Julie Haas

Great function. I was trying to do this for a bar chart, so it doesn't apply. Seems like it would be simple to adapt. However, I did notice that the function uses max(ytick) to calculate where to put the '//' on the upper x-axis. This may not work in cases where the maximum ytick is not on the upper y-axis. Perhaps use:

> v = axis;
> t2 = text(start+width/2,v(4),'//','fontsize',15);

Comments and Ratings on Richard's Files View all
Updated File Comment by Comments Rating
21 Nov 2011 Kronecker Delta Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. Author: Richard Rieber Chandana

Thanks Richard.

01 Sep 2011 Kronecker Delta Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. Author: Richard Rieber Wang, John
31 Mar 2011 Orbital Mechanics Library A compilation of all of the functions I wrote for my orbital mechanics class Author: Richard Rieber Hejc, Gerhard

There is a bug in the function "eci2ecef". The transformation of the velocity vector from ECI to ECEF frame is not correct. The line V_ECEF(:,j) = R3(GST(j))*V_ECI(:,j) has to be replaced by something like

EARTH_RATE = 7.2921151467e-5;
V_R = cross([ 0 0 EARTH_RATE ], ECI(:,j));
V_ECEF(:,j) = R3(GST(j))*(V_ECI(:,j) - V_R');

23 Mar 2010 CalcE.m Calculates eccentric anomaly given mean anomaly and eccentricity of an elliptical orbit. Author: Richard Rieber Toto

Very good work

30 Jan 2010 Kronecker Delta Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. Author: Richard Rieber Oldenhuis, Rody

I think this sort of simple little thing does have significant use; it brings programming in ML closer to mathmatical notation. For example, why use csc(x) in stead of just 1./sin(x)? Because it's shorter and more clear. Why invent something like isvector(x) in stead of using any(size(x)==1) (+additional checks if you expect more dimensions)? Because it's another small little thinking step you can skip while reading code, making that code much more readable.

But only two stars for this version I'm afraid...indeed d=j==k is much shorter (and faster). Moreover, your function explicitly says d = 1; etc., which makes class(d) double i.s.o. logical. Also, you could use error(nargchk(2,2,nargin)) to do everything your entire error-check block does.

Top Tags Applied by Richard
aerodef, aeronautics, aerospace, altitude, annotation
Files Tagged by Richard View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Jan 2010 Kronecker Delta Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k. Author: Richard Rieber kronecker delta, mathematics 8 4
  • 2.33333
2.3 | 3 ratings
01 Oct 2009 Screenshot Orbital Mechanics Library A compilation of all of the functions I wrote for my orbital mechanics class Author: Richard Rieber orbital mechanics, mechanics, kepler, aerospace, orbits cartesian, aerodef 62 9
  • 2.85714
2.9 | 7 ratings
18 Jun 2007 Screenshot Polar contour plot Creates a contour plot from polar coordinates Author: Richard Rieber contour, graphic, polar, plotting, plot, specialized 15 6
  • 4.4
4.4 | 5 ratings
26 Dec 2006 Screenshot point.m Plots circles for data points w/ diameter proportional to magnitude Author: Richard Rieber annotation, customization, data points, scatter, magnitude, graphics 1 0
  • 5.0
5.0 | 1 rating
09 May 2006 Standard Atmosphere Calculator Calculates pressure, density, temperature, and speed of sound as a function of height. Author: Richard Rieber aerospace, aeronautics, aerodef, atmosphere, standard, altitude 21 8
  • 2.9
2.9 | 10 ratings

Contact us at files@mathworks.com