Feeds
提问
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...
4 months 前 | 2 个回答 | 0
2
个回答提问
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...
6 months 前 | 1 个回答 | 0
1
个回答已回答
How 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...
How 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...
6 months 前 | 0
已提交
can_execute_parfor
Test whether there are available workers to run a parfor loop.
6 months 前 | 2 次下载 |
提问
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 ...
10 months 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 2
0
个回答已提交
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 前 | 0 次下载 |
已回答
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...
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 前 | 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.)....
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 前 | 0
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
3 years 前
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答已解决
Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard
4 years 前
已解决
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.
4 years 前
已解决
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...
4 years 前
已解决
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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)...
4 years 前
已解决
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...
4 years 前
已解决
02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>
4 years 前
已解决
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:...
4 years 前
已回答
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 ...
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 前 | 0
提问
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 前 | 0 个回答 | 0