photo

Stephen23


Active since 2014

Followers: 18   Following: 0

Suspensa Vix Via Fit

Statistics

All
MATLAB Answers

4 Questions
9,288 Answers

File Exchange

24 Files

Cody

0 Problems
1 Solution

Discussions

4 Discussions

RANK
5
of 302,293

REPUTATION
36,205

CONTRIBUTIONS
4 Questions
9,288 Answers

ANSWER ACCEPTANCE
75.0%

VOTES RECEIVED
5,997

RANK
57 of 21,679

REPUTATION
14,375

AVERAGE RATING
5.00

CONTRIBUTIONS
24 Files

DOWNLOADS
634

ALL TIME DOWNLOADS
106483

RANK
91,002
of 181,020

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
30

NUMBER OF BADGES
2

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
4 Discussions

AVERAGE NO. OF LIKES
14

  • Most Accepted 2025
  • Most Accepted 2024
  • Solver
  • 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

View badges

Feeds

Answered
In a cell array of cell arrays, how to map elements of lower-level arrays to the indices of these arrays in the upper-level array?
"I can do it running a for-loop and checking every subarray in c1, but I hope there is a more elegant solution." An efficient a...

6 days ago | 0

| accepted

Answered
How can I establish a logical expression from given truth table using MATLAB?
You could use my Espresso wrapper: https://www.mathworks.com/matlabcentral/fileexchange/183127-espresso4matlab which returns a...

13 days ago | 0

Answered
how to simplify logic functions when i have truth table or k-map
You could use my Espresso wrapper: https://www.mathworks.com/matlabcentral/fileexchange/183127-espresso4matlab which returns a...

13 days ago | 0

Answered
Mission Synthesis test labs results does not match my code from Matlab. Using test labs to verify the formulation and my code.
1 Hz integration grid is much too coarse for a 5% damped SDOF, especially at a natural frequency of 6 Hz. %% Step 1: Define the...

22 days ago | 1

Answered
how to fix the warning: colon operands must be real scalars
"If you explain the warning and what needs changed I'll see if I can fix it without needing to send all the code" This is the c...

27 days ago | 1

| accepted

Answered
How do I convert table columns from decimals to percentages?
"The best way to achieve this is to use "arrayfun" on the columns you want to convert." It is simpler to use COMPOSE: names = ...

27 days ago | 0

Answered
The QUBO function cannot yield the correct solution to my problem.
The issue is that MATLAB’s hessian returns twice the quadratic coefficient matrix required by qubo. For the penalized objective...

30 days ago | 1

| accepted

Answered
Filepath to a file required by a MATLAB Web App is being shortened in a very unusual way
The path is being truncated explicitly by this indexing operation: EASEELibPath = EASEEJarPath(1:end-25); Indexing like that i...

1 month ago | 0

| accepted

Submitted


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

1 month ago | 558 downloads |

5.0 / 5
Thumbnail

Answered
Is rowfun Showing Strange Behavior when the Target Function Returns an Empty Output?
Interesting. Apparently you have discovered a way to generate a fundamentally malformed table :) My guess about the behaviors ...

1 month ago | 1

| accepted

Submitted


Number to Scientific Prefix
Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!

1 month ago | 1778 downloads |

4.8 / 5
Thumbnail

Submitted


Scientific Prefix to Number
Convert SI-prefixed text (aka engineering / metric prefix) into numeric values. Bonus: binary prefixes!

1 month ago | 761 downloads |

5.0 / 5
Thumbnail

Answered
How to access elements with same field names in an array of structures without using a loop?
"How to access elements with same field names in an array of structures without using a loop?" There is no way using your data,...

1 month ago | 0

| accepted

Answered
Suggestions for image processing and filters for spray/mist images under varying pressures.
S = dir('./image*.bmp'); for k = 1:numel(S) N = S(k).name; I = im2gray(im2double(imread(N))); bg = median(I(:)...

2 months ago | 1

Answered
Saving large mat-files 2-4 GB takes 1 or 2 min. how to do things in paralell?
Use MATFILE: https://www.mathworks.com/help/matlab/ref/matlab.io.matfile.html "how to use save -append in the best manner so I...

2 months ago | 0

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 | 89 downloads |

0.0 / 5
Thumbnail

Submitted


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

2 months ago | 5853 downloads |

5.0 / 5
Thumbnail

Submitted


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

2 months ago | 37239 downloads |

5.0 / 5
Thumbnail

Submitted


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

2 months ago | 2322 downloads |

5.0 / 5
Thumbnail

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 months ago

Submitted


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

2 months ago | 2375 downloads |

5.0 / 5
Thumbnail

Answered
How do I reliably extract the date from a string, given that it could be in a number formats and positions?
C = {'368446-SN.24260046-12.08.2026';... '368446-SN.24260046-12.08.26';... '368446-SN.24260046.12-08.26'}; tkn = re...

2 months ago | 0

| accepted

Answered
Extract individual member fields from h5 file
Inspect the HDF5 layout What does Group actually point to? info = h5info(filename, Group) Look carefully at: info.Datatype ...

3 months ago | 0

| accepted

Answered
I cant evaluate an expression after integrating using the symbolic toolbox
The main issue is that eval is not the correct way to convert symbolic expressions to numeric values. For symbolic results, use ...

3 months ago | 1

| accepted

Answered
How can i merge three mat.fig in a single figure as subplots which has multiple axis
The error get thrown because each .fig contains more than one axes object, so ax2 is not a scalar. When you write: ax2.Layout.T...

3 months ago | 0

Answered
str2double function for HEX values
C = {'0.123', '0x1a', '0x1A', '0xAB', '0X1a', '0x1e', '12.5'}; V = cellfun(@convertValue, C) function val = convertValue(t...

3 months ago | 1

| accepted

Answered
Question about simscape.getLocalSolverFixedCostInfo returning MaxIterations = -1
Your understanding is basically correct, but there is an important distinction between: The fixed-cost local solver analysis pe...

3 months ago | 0

Answered
How to use eval(sprintf) without padding?
filename = 'bis_trodes - Copy.txt'; % Read the text file as whitespace-delimited data. % This handles spaces and tabs between ...

3 months ago | 0

Answered
Help with Saving a Matrix After Each Loop in a For Loop
The 18 matrices correspond to the 18 combinations of ii = 1:6 and kk = 1:3. Therefore, the separate jj loop is unnecessary. Inst...

3 months ago | 0

| accepted

Answered
writecell produces two cells when Range is a sigle cell
Try this: Rng = sprintf('%1$s%2$d:%1$s%2$d', ColmnName{jj}, irow); writecell(Cost, fnameout, 'Sheet', 1, 'Range', Rng); Learn...

3 months ago | 0

| accepted

Load more