Community Profile

photo

Leonard


11 total contributions since 2014

Professional Interests: Physics

Contact

Leonard's Badges

  • First Review
  • Leader
  • Speed Demon
  • Thankful Level 1
  • Solver

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

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

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

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

plus de 2 ans ago | 1 answer | 0

1

answer

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

plus de 3 ans 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...

plus de 3 ans 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:...

plus de 3 ans 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...

plus de 4 ans ago | 1 answer | 0

1

answer

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

presque 5 ans ago | 2 answers | 1

2

answers

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

presque 5 ans ago | 1 answer | 0

1

answer

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

environ 5 ans ago | 2 answers | 0

2

answers