Community Profile

photo

Alex Feinman


MathWorks

39 total contributions since 2012

I'm a Senior UX Specialist here at MathWorks, supporting the MATLAB Language teams. This means any coding I do is strictly amateur stuff, and my comments should NOT be considered the "voice of the MathWorks".

In a past life, I got a doctorate analyzing how people talk and work together via computers, and have worked on planning- and AI-related projects for various government sponsors.

Professional Interests: Programming language design and environments; ethnographic analysis; data visualization; NLP; audio processing; image processing.

Hobbies: writing science fiction; role-playing; wargaming; music.

Contact

Alex Feinman's Badges

  • First Review
  • Thankful Level 1
  • Quiz Master
  • Speed Demon
  • Creator
  • Commenter
  • Solver

View details...

Contributions in
View by

Solved


"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

bijna 3 jaar 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...

bijna 3 jaar ago

Solved


adding huge numbers
Write function called huge_add that adds together two positive integers of any length specified as char vectors using decimal n...

meer dan 3 jaar ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

meer dan 3 jaar ago

Problem


Create a recurrence matrix for a vector of data
In <https://en.wikipedia.org/wiki/Conversation_analysis conversation analysis>, it's often useful to track the contributions fro...

bijna 8 jaar ago | 2 | 14 solvers

Solved


Create a recurrence matrix for a vector of data
In <https://en.wikipedia.org/wiki/Conversation_analysis conversation analysis>, it's often useful to track the contributions fro...

bijna 8 jaar ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

bijna 8 jaar ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

bijna 8 jaar ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

bijna 8 jaar ago

Question


Shifting a multidimensional matrix
I'm trying to offset a matrix by a certain distance, like dragging an image partially out of frame. The 'new' area gets fill...

bijna 8 jaar ago | 4 answers | 0

4

answers

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

ongeveer 8 jaar ago

Solved


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

ongeveer 8 jaar ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

meer dan 8 jaar ago

Solved


Functional inputs
Return an n-dimensional array whose elements are the results of a function over a set of vectors. The (i,j,k, ...n)th element...

meer dan 8 jaar ago

Problem


Functional inputs
Return an n-dimensional array whose elements are the results of a function over a set of vectors. The (i,j,k, ...n)th element...

meer dan 8 jaar ago | 1 | 20 solvers

Problem


"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...

meer dan 8 jaar ago | 0 | 172 solvers

Question


How can I show a time/date stamp in the prompt?
I am recording (using diary) some work in MATLAB and I want to see when each command was executed. Is there a way to change the ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

meer dan 8 jaar ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

meer dan 8 jaar ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

meer dan 8 jaar ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

meer dan 8 jaar ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

meer dan 8 jaar 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...

meer dan 8 jaar ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

meer dan 8 jaar ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

meer dan 8 jaar ago

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

meer dan 8 jaar ago

Problem


Construct a string from letters and counts
Given two input arrays like this: [5,3,1] ['a','b','c'] Output a string that contains each letter the specified num...

meer dan 8 jaar ago | 0 | 145 solvers

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

meer dan 8 jaar ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

meer dan 8 jaar ago

Solved


Construct a string from letters and counts
Given two input arrays like this: [5,3,1] ['a','b','c'] Output a string that contains each letter the specified num...

meer dan 8 jaar ago

Load more