統計
All
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...
4日 前
解決済み
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...
4日 前
解決済み
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
4日 前
解決済み
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...
4日 前
解決済み
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
4日 前
質問
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年 前 | 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年弱 前 | 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年弱 前 | 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年弱 前
解決済み
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年弱 前
解決済み
String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'
3年弱 前
解決済み
String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76
3年弱 前
解決済み
Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...
3年弱 前
