# Sky Sartorius

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

**Statistics**

RANK**1,488**

of 271,363

REPUTATION**34**

CONTRIBUTIONS

**1** Question

**14** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**7**

RANK**330** of 18,299

REPUTATION**4,447**

AVERAGE RATING**4.30**

CONTRIBUTIONS**37** Files

DOWNLOADS **234**

ALL TIME DOWNLOADS**40614**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

is___ - isodd, ispositive, isint, isnatural, etc.

A small set of simple is___ utility functions convenient to have on the path.

9 days ago | 6 downloads |

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

2 months ago

Problem

Create spiral matrices

Create a matrix of a given size with sequential elements spiraling inward. For matrix height m and width n, the output should ...

2 months ago | 0 | 3 solvers

Solved

Return the middle element of an NxN square matrix where N is odd

Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...

2 months ago

Solved

ZigZag - 04

Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...

2 months ago

Solved

Wind outward from the center ...

Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...

2 months ago

Submitted

Piecewise and blended functions

Create piecewise functions or smoothly blend functions.

1 year ago | 2 downloads |

Randomly select a number from a column of a stored matrix, stores the respective row

You can use randi to randomly generate the index you need, rowInd = randi(256,1); then use that index to pull out the row from...

1 year ago | 1

| accepted

Submitted

Physical Units Toolbox

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

1 year ago | 15 downloads |

Submitted

Alert Checking

Check Matlab code that is supposed to throw errors or warnings.

1 year ago | 3 downloads |

Submitted

Standard Atmosphere Functions

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

2 years ago | 50 downloads |

Submitted

Link

Similar to a character string, but displays itself in the command window as a clickable link.

2 years ago | 7 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, ...

3 years 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...

3 years 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...

3 years ago | 5

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

3 years 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...

3 years 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...

3 years 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...

3 years 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 ...

3 years 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 years ago | 7 downloads |

Submitted

fig - faster, more intuitive alternative to figure function

Manage figure windows by name and prevent figure window clutter.

3 years ago | 1 download |

Submitted

Bisection Method Root Finding

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

3 years ago | 62 downloads |

Submitted

File Exchange Library Builder

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

3 years ago | 1 download |

Submitted

Pseudorandom number generation for engineering estimates

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

4 years ago | 3 downloads |

Submitted

Matrix plotting

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

5 years 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...

5 years ago | 0 answers | 0

### 0

answersX 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...

5 years 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...

5 years 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...

5 years ago | 0