Community Profile

# Silas Henderson

### IUPUI

31 total contributions since 2018

Engineering Student

View details...

Contributions in
View by

Submitted

Plot Gui 2d
y = f(x, t)

Submitted

Plot Gui 3d
z = f(x, y, {t})

Submitted

3d scene
scripts + walk-thru

Submitted

Drawing Robot (2d)
2d version

Submitted

truss.struct
fea variables bundled in 'truss' structure

Submitted

Snake
3 versions of snake (sort-of ) game

Submitted

Piano (Minimum)
Minimum code for playing specific notes with computer keyboard in Matlab. Press keys in middle row to play notes from c-major sc...

Submitted

Pong
3 versions of a pong (sort-of) game.

Submitted

Matlab Paint
function runs paint

Submitted

TrussOpt
Concept-Sketch for point-and-click FEA

Submitted

Arrow 3d
3d arrow function for animation. function + demo

Submitted

truss fmincon 3d
Optimize 3d truss with fmincon

Submitted

truss fmincon 2d
optimize 2d truss with fmincon

Submitted

Asteroids
short game

Submitted

Sine wave (gui)
y = a*sin(b*x + c) + d

Question

Single-File Object-Oriented Script?
How can I define a class and instantiate it within the same script? Something like ... object = some_class() while 1 ...

### 1

Submitted

Multi-Body Problem
Gravity with SI Euler

Submitted

SVD Image Compression
visualize SVD

Submitted

Drawing Robot
Animated Kinematics

Submitted

Interpolation Animation
Interpolation over random functions

Solved

Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

mer än ett år ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än ett år ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

mer än ett år ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mer än ett år ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mer än ett år ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

mer än ett år ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än ett år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än ett år ago

Solved

Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

mer än ett år ago

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

mer än ett år ago