Rank: 812 based on 183 downloads (last 30 days) and 7 files submitted
photo

Michael

E-mail

Personal Profile:

PhD Mechanical Engineer


 

Watch this Author's files

 

Files Posted by Michael View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Sep 2012 Screenshot orbits - plot orbits around Earth in an interactive manner. This GUI lets you plot orbits around Earth interactively. Author: Michael earth, orbit, satellite, interactive, celestial mechanics, astrodynamics 83 5
  • 4.33333
4.3 | 3 ratings
05 Aug 2011 Screenshot starviewer - a simple planetarium This is a very basic planetarium function with interactive click-and-drag camera manipulation. Author: Michael planetarium, stars, interactive 13 2
  • 5.0
5.0 | 2 ratings
03 Aug 2011 Screenshot Logistics Map The logistics map (bifurcation diagram of the logistics equation). Author: Michael logistics equation, logistics map, bifurcation, chaos 29 1
  • 4.5
4.5 | 2 ratings
03 Aug 2011 Screenshot Spherical Mapping Drawing Demonstration Maps your drawing on the plane to the sphere in real time. Author: Michael drawing, spherical, planar, mapping 11 1
  • 5.0
5.0 | 2 ratings
03 Aug 2011 Screenshot Bean Machine Bean Machine Simulation (a.k.a. Plinko or binomial distribution) Author: Michael binomial, distribution, plinko, bean machine, simulation, balls 4 0
Comments and Ratings by Michael View all
Updated File Comments Rating
24 Jun 2011 rot3d - interactive 3D plot rotation Interactive 3D plot rotation with mouse. Author: Michael

To demo:

peaks;
rot3d

24 Jun 2011 orbits - plot orbits around Earth in an interactive manner. This GUI lets you plot orbits around Earth interactively. Author: Michael

Thanks for the review. I updated to include coast.mat.

28 Apr 2011 Fractal Stock Price Generator This script file generates a fractal stock price graph. Author: Michael

Samuel,

The "tol" value is the initial amount of perturbation to apply in the first iteration. It is the range of the stock price end points times the multiplier (in this case 2/3). Play with the multiplier to get more or less perturbation.

The reason for the exponential is to reduce the magnitude for each successive iteration. I suppose a different function could be used but an exponential reduction replicates the fractal nature (self-similarity upon zooming in).

Thanks,
Mike

22 Oct 2010 derivative Compute derivative while preserving dimensions Author: Scott McKinney

Thanks for the submission. I had a different way to do this... maybe it will help? If not, no problem. Feel free to incorporate any of my code if you like.

Here is mine (only works on vectors):

function dy = diff2(y)
% DIFF2 computes the first derivative while preserving the number of
% elements. dx is considered to be 1. So, divide this result by your grid
% spacing to get the correct value of the derivative.
%
% DIFF2(y) returns the central difference of y. y is a vector of at least
% three elements.
%
% This scheme is second-order accurate (central differences).
%
% EXAMPLE:
% dx = 0.001; x = 0:dx:2*pi;
% y = sin(x); dydx = diff2(y)/dx;
% plot(x,y,x,dydx);
%
% Created by Mike Hanchak, October 2010
%
% See also DIFF

% Check inputs.
[m,n] = size(y);
if m*n < 3 || m*n > max([m,n]) || nargin ~= 1
error('Input must be a vector of at least three elements.')
end

% Force data into a row vector.
y = y(:)';

% Calculate central difference for interior terms.
temp = (y(3:end)-y(1:end-2))/2;

% Concatenate derivatives at endpoints using second order forward and
% backward differences.
dy = [ (-3*y(1)+4*y(2)-y(3))/2, temp, (3*y(end)-4*y(end-1)+y(end-2))/2];

% Reshape to match input
if m > n
dy = dy';
end

Comments and Ratings on Michael 's Files View all
Updated File Comment by Comments Rating
07 Dec 2014 Fractal Stock Price Generator This script file generates a fractal stock price graph. Author: Michael Nicolas

17 Mar 2013 Logistics Map The logistics map (bifurcation diagram of the logistics equation). Author: Michael Fotis

thanks

09 Nov 2012 Logistics Map The logistics map (bifurcation diagram of the logistics equation). Author: Michael maha hussein

13 Sep 2012 orbits - plot orbits around Earth in an interactive manner. This GUI lets you plot orbits around Earth interactively. Author: Michael Richard

brilliant!

02 Feb 2012 Spherical Mapping Drawing Demonstration Maps your drawing on the plane to the sphere in real time. Author: Michael Jared

Contact us