photo

Stephen23


Actif depuis 2014

Followers: 18   Following: 0

Suspensa Vix Via Fit

Statistiques

All
MATLAB Answers

4 Questions
9 253 Réponses

File Exchange

22 Fichiers

Discussions

3 Points forts

RANG
5
of 301 555

RÉPUTATION
36 079

CONTRIBUTIONS
4 Questions
9 253 Réponses

ACCEPTATION DE VOS RÉPONSES
75.0%

VOTES REÇUS
5 978

RANG
59 of 21 323

RÉPUTATION
13 979

CLASSEMENT MOYEN
5.00

CONTRIBUTIONS
22 Fichiers

TÉLÉCHARGEMENTS
591

ALL TIME TÉLÉCHARGEMENTS
103837

RANG

of 175 367

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
3 Points forts

NOMBRE MOYEN DE LIKES
33

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

Afficher les badges

Feeds

Réponse apportée
persistent variable from previous run is not deleted during a new run of my .m file
MATLAB is not C. The tidiest way to avoid that ugliness is to use nested functions: https://www.mathworks.com/help/matlab/matla...

environ 18 heures il y a | 1

Réponse apportée
How to find a rotation vector for use in rotate, if the rotation matrix is rank deficient?
You have two separate problems happening: Wrong solver for homogeneous systems: linsolve and lsqminnorm are for Ax=b with b~=0....

1 jour il y a | 0

| A accepté

Réponse apportée
problem with patch fill color
After x_outer ends at r_max·cos(el_min), your lower_line_x starts at x_inner(1) = r_min·cos(el_min), creating an implicit jump a...

1 jour il y a | 1

Réponse apportée
How to print a line of text with multiple variables
%Initial Uncalibrated Meas. p_analog_uncal = [20,40,60,80,100,120]; dV_avg_uncal = [1.246378,1.500449,1.763329,2.015415,2.29...

2 jours il y a | 0

Réponse apportée
Using timeit() in the debugger causes function speedup until edits are made
This behaviour is almost certainly due to MATLAB's JIT (Just-In-Time) engine: https://blogs.mathworks.com/loren/2016/02/12/run-...

14 jours il y a | 1

Réponse apportée
Want to know the output format of audioread of .wav file captured by hydrophone
Short Answer: the default mode is normalized (dimensionless), NOT Volts or Pascals. MATLAB's audioread in default mode reads th...

17 jours il y a | 1

| A accepté

A soumis


Customizable Natural-Order Sort
Alphanumeric sort of a cell/string/categorical array, with customizable number format.

19 jours il y a | 22 téléchargements |

5.0 / 5
Thumbnail

A soumis


Natural-Order Filename Sort
Alphanumeric sort of filenames or filepaths, with customizable number format.

19 jours il y a | 150 téléchargements |

5.0 / 5
Thumbnail

A soumis


Natural-Order Row Sort
Alphanumeric row sort of a cell/string/categorical/table array, with customizable number format.

19 jours il y a | 10 téléchargements |

5.0 / 5
Thumbnail

A soumis


Custom List / Arbitrary Sequence Sort
Sort a text array into the order of custom lists / arbitrary text sequences. Sort using alphabets that are NOT in ASCII order!

19 jours il y a | 2 téléchargements |

0.0 / 5
Thumbnail

Réponse apportée
How to correct the grouping variables in splitapply ?
The error is coming from this line: weightpercentages = [app.Callingapp.Osmotisk_data.Weight_percent_best_salt_1 app.Callingapp...

19 jours il y a | 0

| A accepté

Réponse apportée
plsrectify the error in my code
The error occurs because READTABLE returns a table object, and you cannot extract the content from a table using parentheses lik...

20 jours il y a | 1

| A accepté

Réponse apportée
Restarting background data acquisition when going back - multiple mlapp files
dpb has the right idea. Using an explicit polling loop (while/pause) to watch for the closure of the child screen adds unnecessa...

21 jours il y a | 1

| A accepté

Réponse apportée
write different data types to excel sheet
"It appears to be stored as cell data" It is clearly stored as a string array: S = load('Variable.mat') S.line0 T = array2ta...

25 jours il y a | 1

A soumis


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

28 jours il y a | 16 téléchargements |

5.0 / 5
Thumbnail

A soumis


Interactive Regular Expression Tool
Develop and refine regular expressions in an interactive figure showing all of REGEXP's outputs.

29 jours il y a | 8 téléchargements |

4.8 / 5
Thumbnail

A soumis


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

29 jours il y a | 15 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
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...

29 jours il y a | 2

| A accepté

Réponse apportée
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...

environ un mois il y a | 0

Réponse apportée
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...

environ un mois il y a | 2

| A accepté

Réponse apportée
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. ...

environ un mois il y a | 0

Réponse apportée
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...

environ un mois il y a | 0

Réponse apportée
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})...

environ un mois il y a | 0

Réponse apportée
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...

environ un mois il y a | 0

Réponse apportée
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...

environ un mois il y a | 1

Réponse apportée
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...

environ un mois il y a | 0

| A accepté

Réponse apportée
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...

environ un mois il y a | 0

| A accepté

A soumis


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

environ 2 mois il y a | 117 téléchargements |

4.9 / 5
Thumbnail

A soumis


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

environ 2 mois il y a | 7 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
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...

environ 2 mois il y a | 0

Charger plus