Community Profile

photo

FM


Last seen: 3 days ago Active since 2018

Statistics

  • Thankful Level 4
  • First Review
  • First Answer

View badges

Content Feed

View by

Question


cell2table: Preserve cell type when column contains numbers and strings
I am using Component Object Model (COM) to export tables to Excel List Objects. I have many layers of m-file functions to do th...

4 days ago | 2 answers | 0

2

answers

Answered
regexprep: Nested ordinal token not captured
If table "tFolderInSelf" contains a column "Path" consisting of a vertical vector of strings, then the following code truncates ...

1 month ago | 0

Question


regexprep: Nested ordinal token not captured
I am trying to modify file paths with consecutive repeated folder names, e.g, "archive" is repeated in "Clients/archive/archive/...

1 month ago | 2 answers | 0

2

answers

Question


Case insensitivity for keys in outerjoin and ismember?
Is there any way to have "outerjoin" ignore the letter case of string "key" fields (or cell arrays of characters) in "outerjoin"...

1 month ago | 1 answer | 0

1

answer

Question


Matlab examples of "regexp" where "expression" is a string array or cell array of characters?
The documentation for regexp seem to only illustrate use cases for which the "expression" argument is a single regular expressio...

1 month ago | 1 answer | 0

1

answer

Question


Bar graphs don't group bars if there is only one group in the data
I have a lot of bar graphs to plot. The bars must be grouped into pairs. If the number of pairs is one, then grouping doesn't s...

2 months ago | 1 answer | 0

1

answer

Question


Accessing Excel object methods through COM, how to skip optional positional arguments
I am using the Component Ojbect Model (COM) interface to Excel. The following is a protoype of a method that accepts both posit...

3 months ago | 0 answers | 0

0

answers

Question


Specifying "MergeKeys" for "innerjoin"
I wonder what people feel about incorporating a MergeKeys option into "innerjoin", similar to what is available for "outerjoin"?...

3 months ago | 1 answer | 0

1

answer

Question


"char" doesn't always maintain orientation of input array
The "char" function maintains orientation of input arrays except for categorical arrays: >> categorical(["A" "B"]) ans = 1×2 c...

3 months ago | 1 answer | 0

1

answer

Question


"renamevars" doesn't return output
I tried renaming a table variable, first without assigning the new table to a destination, then assigning to a destination: >> ...

3 months ago | 1 answer | 0

1

answer

Question


Matlab deployment to Linux: What are the library paths for?
I am updating a package that was developed for invocation from Java on Linux. I noticed that my script for invoking Java compil...

3 months ago | 0 answers | 0

0

answers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

Load more