Statistics
RANK
5
of 301,421
REPUTATION
36,047
CONTRIBUTIONS
4 Questions
9,243 Answers
ANSWER ACCEPTANCE
75.0%
VOTES RECEIVED
5,971
RANK
60 of 21,269
REPUTATION
13,887
AVERAGE RATING
5.00
CONTRIBUTIONS
22 Files
DOWNLOADS
600
ALL TIME DOWNLOADS
103371
RANK
of 174,475
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
3 Discussions
AVERAGE NO. OF LIKES
33
Feeds
Submitted
Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.
8 hours ago | 2252 downloads |
Submitted
Interactive Regular Expression Tool
Develop and refine regular expressions in an interactive figure showing all of REGEXP's outputs.
1 day ago | 12 downloads |
Submitted
Convert between RGB and Color Names
RGB to color name. Color name to RGB. Supports many palettes: CSS, dvips, HTML, MATLAB, RAL, SVG, X11, xcolor, xkcd,...
1 day ago | 14 downloads |
Matrix 10x10 with same number in each row by column.
Method 1: REPMAT: M = repmat(1:10,10,1) Method 2: MTIMES: M = ones(10,1)*(1:10) Method 3: MAX M = max(zeros(10),1:10) Meth...
1 day ago | 2
| accepted
Trying to solve for a number of variables in a matrix. Getting a structfun error.
You have 9 equations but only 8 unknowns (u2–u9). Since u1=0 is already substituted in, MATLAB's solve sees an overconstrained s...
7 days ago | 0
Efficient overlapping block processing with nested sub blocks (similar to im2col with stride)
Your reshape/permute chain is working backwards: you're extracting in the "wrong" order and then correcting it. The cleaner appr...
10 days ago | 2
| accepted
Nested tiledlayout: can parent tiles have different widths depending on number of child tiles?
I don't think there is an automatic way to do this, but you could specify the TileSpan to achieve (approximately) equal sizes. ...
12 days ago | 0
Reading a string & sorting it into usable variables
Create demo file: writelines({'Layup: [45/-45/0/90/90/0/-45/45]','Ply thickness: [0.18/0.18/0.18/0.18/0.18/0.18/0.18/0.18]','El...
13 days ago | 0
How do I insert the comma marker for thousands into large numbers while printing to file or Command Line in MATLAB 7.7 (R2008b)?
Assuming that you have already converted to text: A = '1200387'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})...
13 days ago | 0
Inserting a 1000 separator
Assuming that you have already converted to text: A = '11201453.21'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d...
13 days ago | 0
how to set 1000 separator for large numbers in GUI MATLAB
No FLIPLR required: F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})+(e|E|\.|\>))', '$&,'); And tested: F('1 1...
13 days ago | 1
Method lookup in multiple inheritance
f(d) class(d) Compare: classdef d < a % what you wrote in your question. classdef d < b & c % what the file actually con...
15 days ago | 0
| accepted
Weird Behaviour of Parallel Processing when Using BlockProc
I doubt that your example is good use of the parallel toolbox. Parallel code can be slower than serial code due to high communic...
15 days ago | 0
| accepted
Submitted
MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10
20 days ago | 112 downloads |
Submitted
Next Available Filename
Return the next unused filename, incrementing an integer as required.
21 days ago | 5 downloads |
problem exporting figure to a single channel
plot(rand(7,3)) F = getframe(figure(1)); I = im2gray(F.cdata); imwrite(I,'test.png') size(I) clearvars J = imread('t...
26 days ago | 0
How to find and utilize a "built-in method % static method or namespace function"
Yes, your interpretation is correct. The output: tifflib is a built-in method % static method or namespace function means tha...
27 days ago | 0
| accepted
Error Saving Fig with complicated filename
"is there a reason why a matlab figure won't save when the filepath is like this" Yes, because colons are not valid in MS Windo...
27 days ago | 1
| accepted
Extracting from cell arrays using a nested loop
The issue is that subData{c} is being overwritten on each iteration of k, whereas you need to index into both dimensions (c and ...
28 days ago | 0
| accepted
Submitted
Number to Scientific Prefix
Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!
29 days ago | 6 downloads |
Submitted
Scientific Prefix to Number
Convert SI-prefixed text (aka engineering / metric prefix) into numeric values. Bonus: binary prefixes!
29 days ago | 6 downloads |
Question about loading multiple files
"What am I missing?" You are missing the fact that this line FILES= DIR_STR.name defines a comma-separated list: https://ww...
29 days ago | 3
| accepted
fit function - Incorrect number or types of inputs or outputs for function fit.
@Kevin: you do not have FIT from the Curve Fitting Toolbox listed. Check your licenses online: https://www.mathworks.com/help/m...
1 month ago | 0
| accepted
Submitted
Custom List / Arbitrary Sequence Sort
Sort a text array into the order of custom lists / arbitrary text sequences. Sort words using alphabets that are NOT in ASCII or...
1 month ago | 7 downloads |
Submitted
Customizable Natural-Order Sort
Alphanumeric sort of a cell/string/categorical array, with customizable number format.
1 month ago | 21 downloads |
Submitted
Natural-Order Filename Sort
Alphanumeric sort of filenames or filepaths, with customizable number format.
1 month ago | 162 downloads |
Submitted
Natural-Order Row Sort
Alphanumeric row sort of a cell/string/categorical/table array, with customizable number format.
1 month ago | 12 downloads |
Submitted
Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).
1 month ago | 4 downloads |
Submitted
Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).
1 month ago | 3 downloads |
I need my code to work/dont know what is going wrong.
Explanation There are a few clear bugs causing your problems. Let me walk through each one. Bug 1: The function is called twic...
1 month ago | 1
| accepted











