Skip to main content

Questions tagged [matlab]

This challenge is related to the MATLAB language. Note that challenges that require the answers to be in a specific language are generally discouraged.

6 votes
4 answers
3k views

Matlab has a useful command for visualizing data: plot. It draws data points using "markers" in 2-D space, connecting them with lines; however, for this challenge, ...
anatolyg's user avatar
  • 14.1k
17 votes
13 answers
3k views

What general tips do you have for golfing in MATLAB? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to MATLAB (e.g. "remove comments" is ...
RAM's user avatar
  • 987
-1 votes
1 answer
487 views

I'm trying to come up with ways to write Sieve of Eratosthenes in Octave that vectorize as much as possible (ie minimizing the number of times iterating over the for-loop/while-loop/recursive call) I ...
dspyz's user avatar
  • 943