Community Profile # J. Alex Lee

12 2016 年以降の合計貢献数

#### J. Alex Lee's バッジ

Retrieve data of a row in the table
You could do T.pos(T.iwant==542031)

4ヶ月 前 | 0

| 採用済み

Can we get gradient of a linear programming problem ?
Your example actually only gave 1 component of the gradient, at an unspecified fixed value of x. The gradient of your scalar fun...

| 採用済み

I want to encapsulate numbers within a class to hold some meta-information about the number, e.g. classdef myClass prop...

### 0

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

1年以上 前

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

1年以上 前

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

1年以上 前

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

1年以上 前

Assign matrix elements to separate variables
Given an input array, return each element of the array as a separate variable. If the number of output arguments (k) is less tha...

1年以上 前

How to force output of large figure to not be "scaled", or how to properly print a pdf whose dimensions won't fit on the [small] screen
I got a work-around. The issue seems to be that figures are automagically resized when they don't fit on the screen, and this...

3年弱 前 | 0

Set of ODEs with an additional condition
I think this is a differential algebraic equation (DAE)? Documentation for ode15s might help.

3年弱 前 | 0

| 採用済み

How to force output of large figure to not be "scaled", or how to properly print a pdf whose dimensions won't fit on the [small] screen
Hello, I am trying to create a figure that will eventually be "print"ed to pdf at a standard paper size. However, if I tried ...

3年弱 前 | 2 件の回答 | 0

### 2

Why is the parent of a uicontextmenu object always the top level figure?
The |uicontextmenu()| function is supposed to take a parent handle as input, but when querying a resultant's object's parent, I ...

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