11 total contributions since 2014

Professional Interests: Physics

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

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

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

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

circa 2 anni ago | 1 answer | 0

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

circa 3 anni 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...

circa 3 anni 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:...

circa 3 anni 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...

circa 4 anni ago | 1 answer | 0

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

oltre 4 anni ago | 2 answers | 1

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

circa 5 anni ago | 1 answer | 0

Question

MATLAB: Too many output arguments

I'm fairly new to MATLAB but it seems to me that the following line should be correct: [x,y,z] = [1,2,3] Why am I getting...

circa 5 anni ago | 2 answers | 0