Statistics
RANK
5
of 301,370
REPUTATION
36,037
CONTRIBUTIONS
4 Questions
9,243 Answers
ANSWER ACCEPTANCE
75.0%
VOTES RECEIVED
5,969
RANK
60 of 21,243
REPUTATION
13,850
AVERAGE RATING
5.00
CONTRIBUTIONS
22 Files
DOWNLOADS
586
ALL TIME DOWNLOADS
103205
RANK
of 174,217
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
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...
10 hours ago | 0
Best way to relabel axis as pi for trig functions.
x = linspace(0,2*pi,200); y = sin(x); plot(x,y) ax = gca; S = sym(ax.XLim(1):pi/2:ax.XLim(2)); ax.XTick = double(S); ax.XT...
12 hours 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...
3 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. ...
6 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...
6 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})...
7 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...
7 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...
7 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...
8 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...
9 days ago | 0
| accepted
Submitted
MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10
13 days ago | 116 downloads |
Submitted
Next Available Filename
Return the next unused filename, incrementing an integer as required.
14 days ago | 4 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,...
15 days ago | 13 downloads |
Submitted
Interactive Regular Expression Tool
Develop and refine regular expressions in an interactive figure that shows all of REGEXP's outputs.
19 days ago | 7 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...
20 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...
20 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...
21 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 ...
22 days ago | 0
| accepted
Submitted
Number to Scientific Prefix
Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!
23 days ago | 7 downloads |
Submitted
Scientific Prefix to Number
Convert SI-prefixed text (aka engineering / metric prefix) into numeric values. Bonus: binary prefixes!
23 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...
23 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...
24 days 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...
27 days ago | 7 downloads |
Submitted
Customizable Natural-Order Sort
Alphanumeric sort of a cell/string/categorical array, with customizable number format.
27 days ago | 20 downloads |
Submitted
Natural-Order Filename Sort
Alphanumeric sort of filenames or filepaths, with customizable number format.
27 days ago | 160 downloads |
Submitted
Natural-Order Row Sort
Alphanumeric row sort of a cell/string/categorical/table array, with customizable number format.
27 days ago | 12 downloads |
Submitted
Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).
28 days ago | 9 downloads |
Submitted
Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).
28 days ago | 5 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...
28 days ago | 1
| accepted
Loss of precision in wave equations
This is expected behavior. By default MATLAB uses IEEE 754 double precision. This has finite precision and cannot exactly repre...
1 month ago | 1
| accepted











