**Statistics**

RANK**185,707**

of 247,385

REPUTATION**0**

CONTRIBUTIONS

**1** Question

**0** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**0**

RANK**3,143** of 17,239

REPUTATION**447**

AVERAGE RATING**4.90**

CONTRIBUTIONS**14** Files

DOWNLOADS **107**

ALL TIME DOWNLOADS**2592**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

N-body animation

System of point-masses following inverse square law

1 year ago | 5 downloads |

Submitted

Interpolation Animation

Animate polynomial approximations of increasing order

1 year ago | 1 download |

Submitted

Drawing Robot

Solve 2-link and 3-link inverse kinematics and animate.

1 year ago | 12 downloads |

Submitted

Truss Optimization with Fmincon

Find optimal areas to minimize truss compliance in 2d and 3d

1 year ago | 7 downloads |

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

2 years ago | 1 answer | 0

### 1

answerSolved

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.

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

3 years ago

Solved

Divide by 4

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

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

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

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

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

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

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

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

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago