Community Profile

photo

J. Benjamin Kacerovsky


Last seen: Today
39 total contributions since 2019

J. Benjamin Kacerovsky's Badges

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

View details...

Contributions in
View by

Solved


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

1 month ago

Solved


Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...

1 month ago

Solved


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

1 month ago

Submitted


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

3 months ago | 1 download |

Thumbnail

Submitted


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

3 months ago | 4 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.

3 months ago | 12 downloads |

Thumbnail

Submitted


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

3 months ago | 2 downloads |

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

5 months ago | 6 downloads |

Thumbnail

Submitted


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

6 months ago | 6 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 ...

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

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

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

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

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

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

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

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

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

8 months ago

Submitted


planePlotter
Draws a plane defined by a point and normal vector

11 months ago | 2 downloads |

Thumbnail

Submitted


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

11 months ago | 12 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...

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

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

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

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

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

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

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

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

11 months ago

Load more