photo

Del


2012년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Nested for loops - FOR expression comma separated list Error
When I try to run this code: A = zeros(30000, NV); counter = 1; for k = 1:P for n = GN(:,k) for i =...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Display precision in Matlab
I am trying to convert this cell array into a matrix of doubles. How do I make matlab display the numbers the way they are witho...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


convert Matlab array to Latex
I have an array of cells which I want to convert into a latex table. I know for a simple array I can use the following comman...

11년 초과 전 | 답변 수: 1 | 1

1

답변

질문


How can I create a LaTeX table from a MATLAB uitable
I have a uitable, and I want to use it in latex. When I use it as a .fig figure, or .eps figure, the image is not very clear on ...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Using ln function with symbolic variables
I am using symbolic variables, and I would like to use an ln function. But I keep getting an error. Is it possible at all to inv...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Overlay curves on an existing surface plot
How to add/overlay curves on an existing plot that was done by a surf() function? I have tried doing that before, but some of th...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I manually fill in colors (or shade) a part of a feasible region?
How to shade part of a graph with colors? I have tried using something like this (look at the very last figure): [A B]...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


changing width for certain columns in a uitable?
in uitable, do all columns have to have the same width? I have a table, and I would like certain columns to be wider than oth...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Changing the default tolerance for fmincon
I am doing a computation using fmincon, and it says tolfun=1e-06 and options.TolCon = 1e-06. I am trying to have a tolerance of ...

거의 12년 전 | 답변 수: 3 | 0

3

답변

질문


Why are the first order necessary conditions of optimality not satisfied for this problem?
I am trying to find the optimal Lagrange multipliers for this problem: min 100*(V4 - V2 + (V1 - V3)^2)^2 + (V3 - V1 + 1)^2 ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


What is the easier way of listing several symbolic variables?
is there a way to list symbolic variables without having to type each one of them? I mean, sometimes I am dealing with several v...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Why is fmincon giving me a wrong answer depending on which initial feasible point I am using?
I am using fmincon to solve a minimization problem with nonlinear constraints. The problem is that, it is giving me a wrong an...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Finding an initial feasible point x0 for fmincon
How to find an initial feasible solution x0 for solving a minimization problem with non linear constraints (fmincon)? For sma...

거의 12년 전 | 답변 수: 3 | 0

3

답변

질문


creating a simple table and edit it.
What is the best way to create a simple table in matlab? I read somewhere that you could use Mytable = ModelAdvisor.Table(2,...

거의 12년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to add a legend to an existing plot?
ok, now what if I already have the figure, called Error_vs_points.fig , but I want to add a legend to it?

거의 12년 전 | 0

| 수락됨

질문


How to add a legend to an existing plot?
I have a figure and it has 2 curves. When I add the legend from the 'insert menu', it only shows data1 and data2. I don't think ...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


How to plot using data stored in a .mat file?
I have created a .mat file (variable) and it contains 2 columns, each one has 11 numbers. I want to plot column 1 (X axis)agains...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


How to save MAtlab output in a file that you can reopen later?
I have some results in Matlab which are mainly cell arrays and numbers. I want to save these results(either in a .txt file or an...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


using "solve" and getting rid of unknown parameters
I am trying to solve a system of equations whose answer will depend on arbitrary values. For example, consider the following ...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


evaluating the value of the gradient at some point.
I have syms x1 x2 f=x1^2+4*x2^2-8*x1-16*x2 f = x1^2 - 8*x1 + 4*x2^2 - 16*x2 grad_f=gradient(f) ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


checking if every component of a vector is nonnegative
What is the easiest way to check whether a vector a is >= 0? I know you could type a>=0 and get a vector of ones if that'...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Assigning a value to a new iterate and keeping track of iterate numbers.
Here is what I want to get: x2 = a1 solution is x* = x2 x*=[3 4]. Here is the code that I have: x1=[1 2]; ...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


How to keep track of iterate numbers in variable names?
How to create a unique variable for the outputs of a for loop? So for example: for k=1:4 product=k*3 end I want ...

대략 12년 전 | 답변 수: 3 | 0

3

답변

질문


Concatenation with array of different dimensions
How do you concatenate arrays with different dimensions? So for example, if I have a1=[1;2]; a2=[4;1;9]; a3=[5]; and what...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


How do you find the lagrange multipliers for a quadratic program
When I try to solve a linear program using matlab,after using linprog(f,A,b,...) I can find the Lagrange multiplier associated w...

12년 초과 전 | 답변 수: 0 | 0

0

답변