Community Profile

photo

FM


Last seen: 2 months ago Active since 2018

Statistics

  • Thankful Level 3
  • First Review
  • First Answer

View badges

Content Feed

View by

Question


Place text on a subplot: Any way to autowrap?
I used the "text" command to place text onto a subplot. I have to insert line breaks manually, which I would like to avoid. Th...

2 months ago | 0 answers | 0

0

answers

Question


Where is the relative gap from cplexbilp?
I am invoking "cplexbilp" (CPLEX 12.9) from Matlab R2022a. I request all 4 return arguments: [x,fval,exitflag,output] = cp...

3 months ago | 0 answers | 0

0

answers

Question


CPLEX/MATLAB compatibility
In past years, I have succeeded in calling CPLEX 12.9 from MATLAB 2019a (or maybe 2015a/b, it's been so long). I recently upgra...

3 months ago | 0 answers | 0

0

answers

Answered
Minimal-code to get axes limits of log-log plots, but using gscatter
Based on Fabio's approach, here is my final solution, using a utility function "Dat2LogLim.m": % Dat2LogLim.m %-------------- ...

4 months ago | 0

Answered
Minimal-code to get axes limits of log-log plots, but using gscatter
Hi, Fabio, Here is the set of data that seems to reveal differences between "loglog" layout and your two suggestions for "gscat...

4 months ago | 0

Question


Minimal-code to get axes limits of log-log plots, but using gscatter
I used to specify scatter plots using loglog(X,Y,'o') to plot little circles at the data points. Now, gscatter(X,Y,GroupVector,...

4 months ago | 3 answers | 0

3

answers

Answered
"doc cmp": Help browser stuck at "Processing"
The MathWorks suggested a fix that worked for me. The solution was to delete temporary files: Type in %Temp% in the Windows exp...

4 months ago | 0

| accepted

Question


"doc cmp": Help browser stuck at "Processing"
My organization just upgraded me to Matlab 2022a. "doc table" works, but "doc cmp" causes the help browser to be stuck at the m...

4 months ago | 1 answer | 0

1

answer

Question


Apply "whos" to fields of a struct to get their sizes?
The command "whos" shows the sizes (in bytes) [of the data objects/variables in the base workspace. Is there a way to get that ...

5 months ago | 1 answer | 1

1

answer

Question


For consistency with "nan", wouldn't it be nice to be able to issue "missing(3)"?
<Missing> is the string counterpart to NaN. One can define a (say) 3x3 array of NaN's. Each NaN can be replaced as the data is...

5 months ago | 1 answer | 0

1

answer

Question


Can writetable delimit strings using single-quotes?
I am using writetable to export to CSV. All strings are delimited with double quotes. Is there any way to have strings delimit...

5 months ago | 1 answer | 0

1

answer

Question


Matlab & Cygwin X-windows terminates abruptly, Firefox and Outlook do not
I'm executing many-day Matlab jobs on Windows10. On two successive occassions, when the job has run for about a day, I found th...

5 months ago | 0 answers | 0

0

answers

Question


Random triplets not asymmetrically distributed
I would like to generate many triplets whose values are drawn from {0.1, 0.2, ... 0.9}. I also want each triplet to sum to 1.0....

6 months ago | 2 answers | 0

2

answers

Question


Recompose stacked column cell vectors into adjacent row cell vectors
I have a row array of cells, varargin, within a function. The contents of each cell corresponds to an argument supplied by the ...

6 months ago | 1 answer | 0

1

answer

Question


Deploy Java wrapper around m-file wrapper around a mex file?
I have successfully used Compiler SDK to deploy a Java wrapper around my home-made m-file wrapper around "intlinprog" (more than...

6 months ago | 0 answers | 0

0

answers

Question


Single extension not everywhere?
According to the following page, MATLAB 2019a should have automatic singleton extension: https://blogs.mathworks.com/loren/2016...

6 months ago | 1 answer | 0

1

answer

Question


Create table columns with some entries blank (no quote symbols)
I have a table with some Boolean variables. They show up as `true` or `false`. I would like the trues to show up as (say) "Y" ...

6 months ago | 1 answer | 0

1

answer

Question


char(2713) and fprintf('\x2713\n') don't show a checkmark in the command window
According to https://en.wikipedia.org/wiki/Check_mark, the unicode for a checkmark is 2713. However, `char(2713)` doesn't show ...

6 months ago | 2 answers | 1

2

answers

Answered
intlinprog quits due to incorrect Relative Gap
TMW suggest scaling the data so as to reduce the dynamic range. What I found to work was to rescale the objective function so t...

1 year ago | 0

Question


intlinprog quits due to incorrect Relative Gap
I am calling intlinprog indirectly using Problem-Based Approach (https://www.mathworks.com/help/optim/problem-based-approach.htm...

1 year ago | 1 answer | 1

1

answer

Question


Read CSV into table, but quoted text data contain new-lines
I am using "readtable" to read a CSV file into a table. The first row consist of column headings, and there are no row names. ...

1 year ago | 1 answer | 0

1

answer

Question


Extract equivalent RGB without transparency from PNG with alpha channel
I used the "imread" (https://www.mathworks.com/help/matlab/ref/imread.html#btnczv9-1-transparency) function to read a PNG image....

1 year ago | 2 answers | 0

2

answers

Answered
Compiler SDK: Testing *.jar file + runtime as if on a virgin machine
According to TMW, there's not much to be gained by collecting key files needed to use the MATLAB Runtime into a project folder. ...

1 year ago | 0

| accepted

Question


Compiler SDK: Testing *.jar file + runtime as if on a virgin machine
Hello, I wrote a function in MyFunction.m that that performs minor processing on its inputs before invoking "intlinprog". I us...

1 year ago | 1 answer | 0

1

answer

Question


Plotted a graph, want to specify label position relative to node
I plotted a graph, but the node labels sometimes collide: A=ceil(10*rand(30)); A=triu(...

1 year ago | 1 answer | 0

1

answer

Answered
Render 1D column of OptimizationVariable/OptimizationExpression objects to string?
Here is one solution for a 1D column of OptimizationVariable objects and another solution for a 1D column of OptimizationExpress...

1 year ago | 0

Question


In Matlab 2019, 2020, or 2021, can parallel computing be used with intlinprog?
Some course material from 2018 shows that parallel computing applies to many optimization solvers, but not "intlinprog". Can in...

1 year ago | 1 answer | 0

1

answer

Question


Render 1D column of OptimizationVariable/OptimizationExpression objects to string?
In Matlab 2019a, I have a table wherein a column `IFpvfd` is an `OptimizationVariable` array: myTable = table( [1:3]' , ... ...

1 year ago | 2 answers | 0

2

answers

Question


Matlab "more" command: "q" doesn't always quit
According to the help for "more", pressing "q" should stop the pager. It doesn't always work, when paging through: more on ...

1 year ago | 0 answers | 0

0

answers

Question


Matlab intlinprog metrics differ, solver data identical
I'm seeing 2 disparate behaviours with when using Matlab's intlinprog optimizer. As luck would have it, it involves large-ish d...

2 years ago | 0 answers | 1

0

answers

Load more