photo

FM


Last seen: 5 months ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4
  • First Review
  • First Answer

View badges

Feeds

View by

Answered
Vectorized Levenshtein distances between arrays of text labels?
@Stephen23 provided the technically correct answer, though @Nipun's provided an extremely helpful alternative to explore though ...

5 months ago | 0

Question


Does Matlab automatically vectorize for loops?
I currently have Python code that takes 1.5 hours to calculate 450+ million Levenshtein distances between 30,011 text labels of ...

5 months ago | 2 answers | 0

2

answers

Question


Vectorized Levenshtein distances between arrays of text labels?
I have to compare "N" ID labels (several thousand) to each other in order to determine which are mistypings of each other. The ...

5 months ago | 3 answers | 0

3

answers

Question


"The MathWorks" or simply "MathWorks"?
There used to be a lot of references to "The MathWorks", but these days, the definite article "The" only appears on 3rd party si...

9 months ago | 2 answers | 1

2

answers

Question


Deployed Java package: MWMCROption.OUTPROC causes forrtl error (200) program aborting due to window-close event
I used Compiler SDK to package an m-file function as a Java package, which encompasses a class and a method. The external devel...

10 months ago | 1 answer | 0

1

answer

Question


Inconsistent date/time stamps, *possibly* due to time zone
I have the following functions and constants within (say) FOO.m to generate date/time stamps for *.mat dump file names and diagn...

11 months ago | 1 answer | 2

1

answer

Answered
Testing Bash variable to decide whether to use MATLAB or Runtime
The answer is that I need spaces not just around the square brackets, but also around the equality test: #!/bin/bash # The 2...

1 year ago | 0

| accepted

Question


Testing Bash variable to decide whether to use MATLAB or Runtime
I am using a Bash script to test a Java package created from an m-file function using Compiler SDK. I want the script to use ei...

1 year ago | 1 answer | 0

1

answer

Question


Swap out Matlab/Runtime folder tree, tar won't ceate symlink
I am on an Ubuntu VM (VirtualBox). I created the VM with limited disk space. I find myself switching between different version...

1 year ago | 0 answers | 0

0

answers

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

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

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

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

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

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

2 years 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"?...

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

2 years 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: >> ...

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

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

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

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

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

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

2 years 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,...

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

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

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

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

2 years ago | 1 answer | 0

1

answer

Load more