Feeds
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
17 days 前
已解决
Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...
17 days 前
已解决
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
17 days 前
已解决
Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...
17 days 前
已解决
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
17 days 前
已解决
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
17 days 前
提问
Efficiency of "quadprog" in MATLAB
I need to use a QP solver for an NMPC (with SQP) scheme I am writing in MATLAB. I am mostly writing everything from scratch, bo...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Setting the editor (not Live editor) text and background colors from code
As suggested by @Rik, I had a look in the "MATLAB Schemer" package, to see how it is done there. I found the following methods:...
Setting the editor (not Live editor) text and background colors from code
As suggested by @Rik, I had a look in the "MATLAB Schemer" package, to see how it is done there. I found the following methods:...
3 years 前 | 0
| 已接受
提问
Setting the editor (not Live editor) text and background colors from code
I am trying to make a function that allows me to quickly change the color scheme of my MATLAB editor. I found here:Access and Mo...
3 years 前 | 2 个回答 | 0
2
个回答已解决
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: Input...
3 years 前
已解决
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 ...
3 years 前
已解决
String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'
3 years 前
已解决
String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76
3 years 前
已解决
Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...
3 years 前
