**Statistics**

RANK**22,220**

of 293,962

REPUTATION**2**

CONTRIBUTIONS

**8** Questions

**6** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**2**

RANK**14,225** of 20,063

REPUTATION**15**

AVERAGE RATING**1.00**

CONTRIBUTIONS**7** Files

DOWNLOADS **7**

ALL TIME DOWNLOADS**84**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Generate mlint warning when variable is not unused

mlint gives a warning when a variable is unsed. E.g. in the following code, mlint gives a warning in line (1) a = 2; % (1) - h...

18 days ago | 2 answers | 0

### 2

answersQuestion

Prevent mlint warning for onCleanup like return value

I wrote a function, similar to onCleanup. I noticed that Matlab does not give a mlint warning for the following code. dummy = o...

3 months ago | 1 answer | 0

### 1

answerHow to check for number of vacant workers available in a parallel pool?

I wrote a quick and dirty function, which returns whether there are workers available for a parfor loop. It can not return the n...

3 months ago | 0

Submitted

can_execute_parfor

Test whether there are available workers to run a parfor loop.

3 months ago | 2 downloads |

Question

Behaviour change of `isequal`

My question is about the call: isequal( 'a', "a" ) I noted that in Matlab R2018 this returns 0, whereas in Matlab R2020a this ...

7 months ago | 2 answers | 0

### 2

answersQuestion

What happend to %#ok<DEFNU>

In my last Matlab version ( I think R2020a ), I added %#ok<DEFNU> to functions (which were on purpose unused) to silence the Mat...

1 year ago | 0 answers | 2

### 0

answersSubmitted

ttoolboxes (subdivision schemes / joint spectral radius)

Contains functions for the computation of the joint spectral radius, work with subdivision schemes, and other stuff.

2 years ago | 0 downloads |

How can I determine what add-ons I have installed?

In the unit test framwork TTEST is an experimentally function available EXPECT_TOOLBOX, which checks the availability of toolbox...

3 years ago | 0

Which standard MATLAB functions do you shadow with your own version, and why?

I shadow (actually wrap, to add extra functionality) warning (since Matlab occasionally disables all warnings without notice.)....

3 years ago | 0

Solved

Determine if input is odd

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

3 years ago

Question

Behaviour ofparfeval depends on debugging state (Bug?)

I have the following function, which should return false. If I set a breakpoint at the first line, and then step through the pro...

3 years ago | 1 answer | 0

### 1

answerQuestion

mdbstatus disables all warnings

I am using Matlab R2018a. It seems that mdbstatus regularly disables all warnings by calling warning( 'off' ) and not reset the ...

3 years ago | 0 answers | 0

### 0

answersQuestion

How to check if workspace is static

Is there a programmatic way to determine whether a workspace is static? In particular, I want to add a variable to the callers ...

3 years ago | 1 answer | 0

### 1

answerSolved

Back to basics 5 - Clipboard

Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

3 years ago

Solved

Back to basics 26 - Keywords

Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.

3 years ago

Solved

Hackathon: the beginnings

I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

3 years ago

Solved

Free passes for everyone!

_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

3 years ago

Solved

poll: would you like the regexp (?@cmd) functionality to be banned in Cody?

This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...

3 years ago

Solved

Project Euler: Problem 2, Sum of even Fibonacci

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

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

3 years ago

Solved

Fibonacci-Sum of Squares

Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

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

3 years ago

Solved

02 - Vector Variables 2

Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

What capability would you want to see added to the symbolic toolbox in the future?

Compatibility of the symbolic toolbox with the rest of matlab. In particular: Same interfaces of functions when taking symbolic ...

4 years ago | 0

Question

How to access and change variables in workspace

I need to access variables in a workspace which are in a workspace down the stack. And I need to do this in a function - Thus, s...

4 years ago | 0 answers | 0