Community Profile

photo

FM


Last seen: 5 Tage vor Aktiv seit 2018

Statistics

  • Thankful Level 4
  • First Review
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

6 Tage vor | 2 Antworten | 0

2

Antworten

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

etwa ein Monat vor | 0

Frage


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

etwa ein Monat vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa ein Monat vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Monat vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage


"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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


"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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Frage


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 Monate vor | 3 Antworten | 0

3

Antworten

Beantwortet
"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 Monate vor | 0

| akzeptiert

Frage


"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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 1

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 2 Antworten | 1

2

Antworten

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

mehr als ein Jahr vor | 0

Mehr laden