Community Profile

Sky Sartorius

Last seen: Today
258 total contributions since 2010

Aerospace engineer
Professional Interests: aircraft design, UAVs, optimization, rotorcraft, education

View all

Contributions in
View by

Submitted

Physical Units Toolbox
Enables operations using hundreds of supported physical units of measurement and physical constants.

22 jours ago | 15 downloads |

Plot x^2+y^2=4
There are a few ways to go about this. One that is somewhat agnostic to what the equation is trying to represent (in this case, ...

environ un mois ago | 1

| accepted

select random number from an array with probabilities
You can query the cumulative probabilities: S = [4, 3.9, 3.8]; w = [0.5, 0.4, 0.1]; w = w/sum(w); % Make sure probabilites ad...

environ 2 mois ago | 0

get the x-value of a point on curve
This is a table lookup / interpolation problem. For your data, you'll first have to make sure there aren't any repeated y values...

environ 2 mois ago | 3

how do i open a browser in matlab ?
Use uigetfile: https://www.mathworks.com/help/matlab/ref/uigetfile.html Or if you have the toolbox, help uigetimagefile

environ 2 mois ago | 0

Size of a figure that I copy from Matlab to Powerpoint
I find that MS products sometimes have behavior as though they're taking a guess at what the pasted figure size should be. I fin...

environ 2 mois ago | 0

How can I create a 3D plot of data with dots of different color?
Use a scatter plot and CData: n = 100; xData = 1:n; % Placeholder - I assume you have additional information about the data to...

environ 2 mois ago | 0

How to create an object using class name
A quick and dirty approach that will work in many cases is to use eval: function new = createNewObjectOfThisClass(original) ne...

environ 2 mois ago | 0

Converting a row to diagonal matrix
Another guess at the intended meaning of the question could be that the values should be filled along the diagonals (instead of ...

environ 2 mois ago | 0

Submitted

MATLAB Style Guide Wiki access and search function
Tips for writing clear code. Search the MATLAB Programming Style Guide Wiki from the command line.

3 mois ago | 4 downloads |

Submitted

fig - faster, more intuitive alternative to figure function
Manage figure windows by name and prevent figure window clutter.

5 mois ago | 2 downloads |

Submitted

Bisection Method Root Finding
Very simple to use and robust method that takes array inputs, so it even has advantages over fzero.

6 mois ago | 54 downloads |

Submitted

File Exchange Library Builder
A tool to download your favorite files (or necessary project dependencies) from the File Exchange.

9 mois ago | 2 downloads |

Submitted

Pseudorandom number generation for engineering estimates
Tools for generating pseudorandom numbers, primarily geared toward making engineering estimates.

environ un an ago | 2 downloads |

Submitted

Standard Atmosphere Functions
Standard atmosphere gas properties. Support for n-dim inputs, non-standard atmospheres, units, etc.

presque 2 ans ago | 25 downloads |

Submitted

Matrix plotting
Plot using single 2 x n (or 3 x n) matrices as inputs instead of x, y, (and z) vectors.

plus de 2 ans ago | 1 download |

Question

What method do I overload to control display behavior in the workspace window?
When using a subclass of double (for example the ExtendDouble class from the <https://www.mathworks.com/help/matlab/matlab_oop/b...

plus de 2 ans ago | 0 answers | 0

0

X Y Z coordinates matrix
You can use the |cat| command to 'stack' your three 2d matrices into a single 3d matrix: M = cat(3,x,y,z); This will giv...

plus de 2 ans ago | 0

| accepted

Generate Random numbers from a 2 D probability density function
Conceptually, you can generate random numbers for any arbitrary distributions by # Converting the pdf to a cdf. # Generating...

plus de 2 ans ago | 0

How to create an Object insertable in a 3D plot?
One approach could be to leverage the plotted object's XData, YData, and ZData, homogeneous coordinates, and the |makehgtform| f...

plus de 2 ans ago | 0

Submitted

Surface area
Calculate surface area and centroid of a surface or mesh.

plus de 2 ans ago | 9 downloads |

Submitted

Density altitude calculator
Finds altitude in the atmosphere as a function of air density.

presque 3 ans ago | 5 downloads |

Submitted

Show Origin
Sets the limits of axes such that the origin is shown.

presque 3 ans ago | 3 downloads |

Submitted

MCD - My change directory
Very quickly switch to a recent or preferred directory - all from the command line.

environ 3 ans ago | 1 download |

Submitted

Simple propulsion performance estimation
Tools for simple estimation of aircraft propulsion performance.

environ 3 ans ago | 13 downloads |

Reaching the element of an array passed to a function
The first step needs to be to find the indices of the array that correspond to the conditional statement. You can use something ...

environ 3 ans ago | 0

| accepted

Submitted

is___ - isodd, iseven, isint, isnatural, iswhole
A small set of simple is___ utility functions convenient to have on the path.

environ 3 ans ago | 1 download |

Submitted

TXTMENU - Text-Based Menu for the Command Window
Like the built-in MENU function, but all in the command prompt so fingers never leave the keyboard.

environ 3 ans ago | 3 downloads |

How do i fit my data with two functions and a knot between them
The |tanh| function can be handy for creating a one-liner piece-wise function for feeding into a curve fitting tool. If you don'...

environ 3 ans ago | 0

| accepted

Submitted

BLEND: utility for smoothly blending functions or creating piecewise functions
Returns a function that smoothly blends, with specified location and distance, between two functions

presque 4 ans ago | 3 downloads |