photo

Stephen23


Active since 2014

Followers: 15   Following: 0

Suspensa Vix Via Fit

Statistics

All
MATLAB Answers

4 Questions
9,212 Answers

File Exchange

19 Files

Discussions

3 Discussions

RANK
5
of 300,742

REPUTATION
35,925

CONTRIBUTIONS
4 Questions
9,212 Answers

ANSWER ACCEPTANCE
75.0%

VOTES RECEIVED
5,952

RANK
62 of 21,061

REPUTATION
13,568

AVERAGE RATING
5.00

CONTRIBUTIONS
19 Files

DOWNLOADS
571

ALL TIME DOWNLOADS
101580

RANK

of 170,691

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

  • Most Accepted 2024
  • Most Accepted 2023
  • Personal Best Downloads Level 5
  • Editor's Pick
  • Most Accepted 2022
  • Most Accepted 2021
  • Grand Master
  • First Review
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 3
  • First Submission
  • 36 Month Streak

View badges

Feeds

Submitted


Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.

7 days ago | 17 downloads |

5.0 / 5
Thumbnail

Answered
How to plot all but last two columns?
c = b(:,1:end-2); plot(a,c) https://www.mathworks.com/help/matlab/math/array-indexing.html https://www.mathworks.com/help/mat...

8 days ago | 0

Submitted


MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10

12 days ago | 107 downloads |

4.9 / 5
Thumbnail

Submitted


Hyphenate
Word hyphenation using Franklin Liang's algorithm (aka Knuth-Liang algorithm). Used in TeX and LaTeX

13 days ago | 2 downloads |

0.0 / 5
Thumbnail

Answered
Why does having only one row in table, break dot indexing?
"Why does having only one row in table, break dot indexing?" Short answer: it doesn't break anything, you are not indexing what...

15 days ago | 0

Answered
How to keep indexed colors of patches, when switching to Face-Vertex syntax.
Solution: Use "scaled" in place of "direct": patch("Faces", 1:size(ddata,1), "Vertices", ddata, ... "FaceVertexCData", in...

15 days ago | 0

| accepted

Answered
"Unable to update data tip using custom update function"
Solution One Replace dcm.UpdateFcn = @displayteam; with dcm.UpdateFcn = @(~,~)displayteam(data2); Explanation The property...

17 days ago | 0

| accepted

Answered
Mixing subscripts with linear indices
When fewer subscripts are provided than non-singleton dimensions then all trailing dimensions are "folded" into the last subscri...

19 days ago | 1

| accepted

Answered
Why does first calling the function radon and then iradon on the result produce extra rows and columns?
"Why does first calling the function radon and then iradon on the result produce extra rows and columns?" The functions radon a...

19 days ago | 0

| accepted

Answered
How to read a text file with irregular timestamp data using detectImportOptions function ?
The file that you uploaded is tab delimited, not space delimited as you specified. Once you provide the correct delimiter import...

22 days ago | 1

| accepted

Answered
Matlab Datatip Struct - How do I use it!?
mat = vertcat(var.Position); x = mat(:,1); y = mat(:,2); How this works: https://www.mathworks.com/matlabcentral/discussions/...

23 days ago | 0

Answered
The single function is not behaving as expected
"However, it is altering my integers as well." Then use an integer type of sufficient size to store those values; this would us...

26 days ago | 1

Submitted


Next Available Filename
Return the next unused filename, incrementing an integer as required.

28 days ago | 4 downloads |

5.0 / 5
Thumbnail

Answered
I keep getting the same error when using readtable or readmatrix: Dimensions of arrays being concatenated are not consistent.
You have likely shadowed the function HEIGHT() or WIDTH() or SIZE() or LENGTH() or NUMEL() or similar: https://www.mathworks.co...

1 month ago | 1

| accepted

Answered
Should I need keep in my PC previous versions of Matlab?
"Do I really need to keep these previous versions installed or is it possible to delete them to release some space in the HD?" ...

2 months ago | 1

| accepted

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

2 months ago | 5 downloads |

5.0 / 5
Thumbnail

Answered
What happen if I do not renew my Matlab license?
"Can I still use the SW with no upgrades?": correct. With the perpetual license you can use the application as long as you want,...

2 months ago | 0

Answered
How can I determine the screen size in inches programatically
Windows 7 was arguably the last version where screensize determination was relatively straightforward. Here's why: Windows 8 in...

2 months ago | 0

Answered
readtable - Reading dates and times from text file
tbl = readtable('data.txt', 'Delimiter','\t', 'Format','%{y/M/d H:m:s.S}D%f') tbl.DateTime

2 months ago | 1

| accepted

Answered
Draw a box around an equation in MATLAB live editor.
@David Cole: BOXED does not help as MATLAB only supports HBOX and MBOX (which do not draw borders): https://www.mathworks.com/h...

2 months ago | 2

Answered
Saving a grid of lines to be recalled using findobj and assigning to an app property
"How can this be as app.myGrid still contains the lines?" You might find these useful: https://www.mathworks.com/help/matlab/r...

3 months ago | 0

Answered
Plotting sum of two vectors
Use numbered variable names if you really enjoy writing lots of code. Otherwise do something more like this: %% Parameters or...

3 months ago | 0

Answered
Have a question regarding Cumtrapz
"What does cumtrapz do?" cumtrapz(y, x) performs cumulative numerical integration using the trapezoidal rule. It calculates the...

3 months ago | 1

| accepted

Answered
How do I get the properties of the .MAT file I'm importing?
S = load('CFGC1_750 RPM.MAT') % import M = S.MEscope1 % rename F = fft(M) % fast fourier transform of each column

3 months ago | 1

| accepted

Answered
Fig images not readable
MathWorks explicitly documents savefig as the modern way to write FIG files compatible with R2014b+ (and it’s fine to call from ...

3 months ago | 0

Answered
default output on screen of array of order > 2
"I would really appreciate knowing why this sequence in the output was chosen." Because the displayed output exactly follows th...

3 months ago | 0

| accepted

Answered
I have a bug on my code
You have not defined the following variables/functions: x1, x2fx, x3. Once you define those variables then your code works: % ...

3 months ago | 0

Answered
Setting the UserData property of a plot with max and min values
"What am I doing wrong and how can I include both mx and mn in the userdata entry?" You made up some syntax. Better to use the ...

3 months ago | 0

Answered
Strange behaviour using double
"Does anybody understand why this is" The comma is an optional thousands delimiter in english: https://en.wikipedia.org/wiki/De...

3 months ago | 1

| accepted

Answered
Matlab unable to parse a Numeric field when I use the gather function on a tall array.
Providing the RANGE argument does not prevent READTABLE from calling its automatic format detection: https://www.mathworks.com/...

3 months ago | 0

Load more