Community Profile

photo

J. Benjamin Kacerovsky


Last seen: Today
36 total contributions since 2019

J. Benjamin Kacerovsky's Badges

  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • Community Group Solver
  • Solver
  • First Review
  • First Submission

View details...

Contributions in
View by

Submitted


insertTemplateHeader
Inserts a predefined header template into the active script of the editor

24 days ago | 4 downloads |

Thumbnail

Submitted


usefulSnippets
Collection of some "little" functions I wrote to make my life easier.

24 days ago | 6 downloads |

Submitted


Save Wavefront .OBJ files (simple or colour)
Saves triangulated mesh objects as wavefront .obj files, optionally with user-defined face or vertex colours.

25 days ago | 17 downloads |

Thumbnail

Submitted


Xfigure - Interactive 3D viewer
interactive 3D viewer for Matlab meshes/3D scatterplots and graphs built with unity3d

25 days ago | 1 download |

Thumbnail

Submitted


Mesh/Voxel spheres, ellipsoids, toroids, and test objects
A collection of functions to build spheres/ellipsoids, toroids, unions of spheres and test objects and voxel arrays or triangula...

4 months ago | 3 downloads |

Thumbnail

Submitted


Voxel2mesh - plotVoxelArray
Creates and/or displays triangulated or quad mesh from binary or numeric arrays.

4 months ago | 5 downloads |

Thumbnail

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

5 months ago

Solved


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

5 months ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

5 months ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

5 months ago

Solved


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 months ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 months ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

5 months ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5 months ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 months ago

Solved


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

6 months ago

Submitted


planePlotter
Draws a plane defined by a point and normal vector

9 months ago | 10 downloads |

Thumbnail

Submitted


drawVector- draws 2D or 3D vectors from specified points
Draws 3 arrows representing the basis vectors of an R3 coordinate system

9 months ago | 66 downloads |

Thumbnail

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

9 months ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

9 months ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

9 months ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

9 months ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

9 months ago

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

9 months ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

9 months ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

9 months ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

9 months ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

9 months ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

9 months ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

9 months ago

Load more