Content Feed
질문
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...
약 2달 전 | 답변 수: 2 | 0
2
답변답변 있음
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 ...
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 ...
3달 전 | 0
질문
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/...
3달 전 | 답변 수: 2 | 0
2
답변질문
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"...
3달 전 | 답변 수: 1 | 0
1
답변질문
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...
3달 전 | 답변 수: 1 | 0
1
답변질문
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...
4달 전 | 답변 수: 1 | 0
1
답변질문
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...
4달 전 | 답변 수: 0 | 0
0
답변질문
Specifying "MergeKeys" for "innerjoin"
I wonder what people feel about incorporating a MergeKeys option into "innerjoin", similar to what is available for "outerjoin"?...
4달 전 | 답변 수: 1 | 0
1
답변질문
"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...
5달 전 | 답변 수: 1 | 0
1
답변질문
"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: >> ...
5달 전 | 답변 수: 1 | 0
1
답변질문
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...
5달 전 | 답변 수: 0 | 0
0
답변질문
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...
8달 전 | 답변 수: 0 | 0
0
답변질문
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...
9달 전 | 답변 수: 0 | 0
0
답변질문
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...
9달 전 | 답변 수: 0 | 0
0
답변답변 있음
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 %-------------- ...
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 %-------------- ...
10달 전 | 0
답변 있음
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...
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...
10달 전 | 0
질문
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,...
10달 전 | 답변 수: 3 | 0
3
답변답변 있음
"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...
"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...
10달 전 | 0
| 수락됨
질문
"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...
10달 전 | 답변 수: 1 | 0
1
답변질문
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 ...
11달 전 | 답변 수: 1 | 1
1
답변질문
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...
11달 전 | 답변 수: 1 | 0
1
답변질문
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...
11달 전 | 답변 수: 1 | 0
1
답변질문
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...
11달 전 | 답변 수: 0 | 0
0
답변질문
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....
12달 전 | 답변 수: 2 | 0
2
답변질문
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 ...
12달 전 | 답변 수: 1 | 0
1
답변질문
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...
12달 전 | 답변 수: 0 | 0
0
답변질문
Single extension not everywhere?
According to the following page, MATLAB 2019a should have automatic singleton extension: https://blogs.mathworks.com/loren/2016...
12달 전 | 답변 수: 1 | 0
1
답변질문
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" ...
12달 전 | 답변 수: 1 | 0
1
답변질문
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 ...
12달 전 | 답변 수: 2 | 1
2
답변답변 있음
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...
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년 이상 전 | 0