Community Profile

# Leonard

11 total contributions since 2014

Professional Interests: Physics

View details...

Contributions in
View by

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

10 meses ago

Solved

Angle between two vectors
Given 2 pairs of _cartesian co-ordinates_, determine the angle between the 2 vectors formed by the _points_ and the _origin_. An...

10 meses ago

Solved

Find the Next Legal Move in Reversi
<http://en.wikipedia.org/wiki/Reversi Reversi>, also known as Othello, is a game in which reversible white/black chips are place...

10 meses ago

Question

Is the amount of hard drive space used when a variable is saved to a .mat file equivalent to the amount of RAM the variable requires when loaded into the workspace?
I am working on large, multidimensional images and recently got an error in R2017a for my variable being too large (~33GB when I...

más de 2 años ago | 1 answer | 0

### 1

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

más de 3 años 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...

más de 3 años 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:...

más de 3 años ago

Question

Is it possible to create a histogram with fractional entries for each bin?
Thank you for looking at my question! I have included a brief introduction below; any suggestions or comments would be greatly a...

más de 4 años ago | 1 answer | 0

### 1

Question

How can I change the color of an alphaShape object when using plot?
I have a 3-D object which I've converted to a very nice looking alphaShape object after getting the PixelIdxList and using ind2s...

casi 5 años ago | 2 answers | 1

### 2

Question

Can't get Slider Step in GUI to move in step sizes that I want
Here's my complete code for a gui where I want to adjust the threshhold of an image with a slider in the figure. I have everythi...

alrededor de 5 años ago | 1 answer | 0