Statistics
RANK
22,587
of 295,569
REPUTATION
1
CONTRIBUTIONS
24 Questions
1 Answer
ANSWER ACCEPTANCE
29.17%
VOTES RECEIVED
1
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 1
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 3 answers | 0
3
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 3 answers | 0
3
answersQuestion
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 years ago | 1 answer | 0
1
answerHow 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 years ago | 0
| accepted
Question
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 3 answers | 0
3
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 0 answers | 0