Community Profile

photo

Il


University of Florida

2012 年からアクティブ

Followers: 0   Following: 0

連絡

統計

All
  • First Review
  • Solver

バッジを表示

Feeds

表示方法

質問


optim/barrier.p "Matrix dimensions must agree" error
I'm using `fmincon', and getting a weird error. My function is defined on [0,inf) x [0,1), and I return inf outside of the range...

11年以上 前 | 1 件の回答 | 0

1

回答

解決済み


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

12年弱 前

解決済み


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

12年弱 前

解決済み


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

12年弱 前

解決済み


inner product of two vectors
inner product of two vectors

12年弱 前

解決済み


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

12年弱 前

解決済み


Is my wife right?
Regardless of input, output the string 'yes'.

12年弱 前

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12年弱 前

解決済み


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

12年弱 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前