Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
0answers
41 views

Matlab Question - How to optimize parameters for two data sets [closed]

This is rather an easy problem but I cannot get my head around. I have two curves in the form, say F(xi,fi) and G(xi,gi), with i = 1 to 65. F and G are supposed to be the same, but I get them ...
5
votes
3answers
167 views

Generate Matlab plot markers

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, ...
14
votes
12answers
2k views

Tips for golfing in MATLAB

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 ...
0
votes
1answer
375 views

Matlab/Octave Eratosieve using minimal big-O iterations [closed]

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