photo

Stephen23


Active since 2014

Followers: 19   Following: 0

Suspensa Vix Via Fit

Statistics

All
MATLAB Answers

4 Questions
9,264 Answers

File Exchange

23 Files

Discussions

4 Discussions

RANK
5
of 301,873

REPUTATION
36,127

CONTRIBUTIONS
4 Questions
9,264 Answers

ANSWER ACCEPTANCE
75.0%

VOTES RECEIVED
5,987

RANK
57 of 21,444

REPUTATION
14,159

AVERAGE RATING
5.00

CONTRIBUTIONS
23 Files

DOWNLOADS
415

ALL TIME DOWNLOADS
104760

RANK

of 177,094

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
4 Discussions

AVERAGE NO. OF LIKES
25

  • 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

View badges

Feeds

Answered
Command fscanf does not read zero
This looks correct to me: fid = fopen('test.txt','rt'); mat = fscanf(fid,'%f',[6,Inf]).' fclose(fid); For comprison: type t...

1 day ago | 0

Submitted


Fun Number Facts
A simple GUI which displays fun, interesting, and (occasionally) thought-provoking number facts. For entertainment purposes only...

2 days ago | 2 downloads |

0.0 / 5
Thumbnail

Answered
datetime format with T time demarcation
dt1 = datetime(2023,8,1,11,07,56, "Format","yyyy-MM-dd'T'HH:mm:ss") dt2 = dt1 + minutes(1)

5 days ago | 0

Answered
When does distributing data improve computation time over overhead expense?
Let’s break your three questions down clearly. 1) Yes, syntactically and conceptually, your usage is correct. However, correctn...

6 days ago | 1

| accepted

Answered
Overwriting table columns with ()-indexing
I supect that the cause is consistency of behavior. Consider your example but not replacing the entire column, but only from one...

16 days ago | 1

| accepted

Answered
Why can't I use "end-2:end" for the meaning of last 2 columns?
"Why can't I use "end-2:end" for the meaning of last 2 columns?" Because that specifies the last three columns. The last two co...

18 days ago | 2

Answered
Possible to use box or violin plots, with unequal x and y axis spacing?
Horizontal, stats toolbox: x_positions = [1.2,3.5,7.8]; data = [ randn(50,1)+1; randn(50,1)+2; randn(50,1)+3 ]...

22 days ago | 0

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

27 days ago | 21 downloads |

5.0 / 5
Thumbnail

Answered
What is the main difference between matlab and simlink
MATLAB (MATrix LABoratory) is a programming language and computational environment. What it’s used for: Numerical computing D...

29 days ago | 1

| accepted

Discussion


Rethinking Line Length in Scientific / MATLAB Code
Many widely cited code style guides originate from large-scale software engineering contexts: multi-developer teams, large codeb...

29 days ago | 0

Answered
datestr returns erroneous result (MATLAB Version: 9.9.0.2037887 (R2020b) Update 8)
"When I provide datestr with a datenum produced by a format, it does not return the same value" It does when you provide the co...

1 month ago | 0

| accepted

Submitted


Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).

1 month ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).

1 month ago | 6 downloads |

0.0 / 5
Thumbnail

Answered
How to set a tolerance?
The first rule of debugging: look at the data! data_1 = readmatrix('DataSet2_Test.txt') % much better than LOAD %Characterize ...

1 month ago | 0

| accepted

Answered
Unexpected size change when assigning a scalar to a 0x0 matrix using (:, :) indexing
As far as I can tell this behavior is not explicitly documented. The rule seem to be something like this: if and only if all non...

1 month ago | 1

| accepted

Submitted


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

2 months ago | 6 downloads |

0.0 / 5
Thumbnail

Submitted


Numeric to Ordinal-String
Convert numeric values to a string array of integers with ordinal suffixes. Fully vectorized!

2 months ago | 2 downloads |

5.0 / 5
Thumbnail

Answered
Introduction to Matrix inversion and finite element analysis. Is this code right?
Yes, the code looks correct. Here is a quick sanity-check of each key piece: DOF numbering is consistent throughout: node i own...

2 months ago | 1

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

2 months ago | 2

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

2 months ago | 0

| accepted

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

2 months ago | 1

Answered
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 months ago | 0

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

3 months ago | 1

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

3 months ago | 1

| accepted

Submitted


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

3 months ago | 9 downloads |

5.0 / 5
Thumbnail

Submitted


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

3 months ago | 100 downloads |

5.0 / 5
Thumbnail

Submitted


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

3 months ago | 7 downloads |

5.0 / 5
Thumbnail

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

3 months ago | 0

| accepted

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

3 months ago | 1

| accepted

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

3 months ago | 1

| accepted

Load more