Community Profile

photo

Sean de Wolski


MathWorks

5,491 total contributions since 2004

I like to be outside. But if I'm inside, I like to be using MATLAB.

I'm an Application Engineer at MathWorks and civil/structural engineer by education.

Contact

Sean de Wolski's Badges

  • Quiz Master
  • 36 Month Streak
  • Thankful Level 2
  • Ace
  • Revival Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Creator
  • Speed Demon
  • Promoter
  • Commenter
  • Solver

View details...

Contributions in
View by

Published


EDF Read
Sean‘s pick this week is edfRead by Brett Shoelson. EDF Read A MATLAB user asked me yesterday if we have support for the...

5 days ago

Thumbnail

Answered
How get row index of first and last appearance each unique cell element
Unique is your friend: x = ["MUY09KT00" "TW00.00" "MUY09KT00" "TW00.00" "MUY09KT00" "TW00.00" "MHJ09KT00" "P...

5 days ago | 0

Answered
S Function Builder - To implement existing C code
If you're using 18b, consider using the C Caller block: <https://www.mathworks.com/help/releases/R2018b/simulink/ug/integrate...

8 days ago | 1

| accepted

Answered
Parsing varargin for a function called with values only instead of name-value pairs
I like name-value pairs because it makes it easier to extend in the future if you need a new option. With the ability to have a...

9 days ago | 0

| accepted

Answered
regexp find next char
Use string arrays! >> a = string('A = p:\A to B\Mat Lab\Ques Tion\') a = "A = p:\A to B\Mat Lab\Ques Tion\" >...

12 days ago | 0

Published


Handle Classes – Live Editor Challenge Winner (Student Category)
Jiro‘s pick this week is Building a Forest of Trees in MATLAB by Ameer Hamza.Today, I’d like to highlight the winner of...

12 days ago

Thumbnail

Answered
Cumulative sum with conditions
h = [1 0 0; 1 1 0; 0 0 1; 1 1 1; 0 1 0]; s = sum(h, 2).*~h(:,end) requiring the last element to be...

14 days ago | 0

Answered
Matlab Histogram: connecting bin centers to make a curve
I recommend using the newer histogram rather than hist. x = randn(100,1); h = histogram(x); hold on plot(conv(h.BinEdges...

14 days ago | 2

| accepted

Answered
Longest Sequence of 1s
<https://www.mathworks.com/help/releases/R2018b/images/ref/bwareafilt.html> biggest = bwareafilt(x, 1) If x is a char ar...

16 days ago | 0

Answered
dtw example from MatLab Documentation doesn't not work
The second occurrence is the one you want. Rename the first file to something else.

19 days ago | 0

| accepted

Published


ShakespeareInsult
Will‘s pick this week is ShakespeareInsult by Jos (10584). Shall I compare thee to a summer’s day? Or perhaps something...

19 days ago

Thumbnail

Answered
Unzipping a uint8 array
Use websave instead: tempzipname = [tempname '.zip'] websave(tempzipname, url); deleter = onCleanup(@()delete(tempzipname...

23 days ago | 0

Published


R2018b Features
Sean‘s pick this week is my biannual review of former picks that are now part of the product. R2018b shipped last week...

26 days ago

Thumbnail

Answered
How to batch convert table columns to categorical
In 18b there is a convenience function to do exactly this: <https://www.mathworks.com/help/releases/R2018b/matlab/ref/conve...

28 days ago | 1

| accepted

Published


Physics Course Live Scripts using Symbolic Math Toolbox
Jiro‘s pick this week is Physics Course Live Scripts using Symbolic Math Toolbox by Kurt Braeuer.My day job is helping our...

1 month ago

Thumbnail

Answered
Matlab doesn't import standard python modules, when importing a custom python module
Please also note that the ability to use resnet and train/transfer deep networks is available in MATLAB in the <https://www.math...

1 month ago | 0

Published


Path Simplification (and Binary Image Reconstruction!), Made Easy
Contents Sample Path Enter the Douglas-Peucker algorithm: Mask reconstruction I’ve been thinking a lot about how to...

1 month ago

Thumbnail

Published


Safer Semaphore
Sean‘s pick this week is Safer wrapper for Windows-API Semaphore by Igor. A while back, I wrote a blog post about the...

2 months ago

Thumbnail

Answered
How can I create paths relative to a specific folder to facilitate moving project folders to other locations?
|mfilename('fullpath')|, |fullfile|, |fileparts|, |pwd| are my best friends for this type of work.

2 months ago | 0

Answered
Toolboxes unavailable in Matlab
Contact MathWorks' installation support.

2 months ago | 0

Answered
get classifier name function
|getclassifiername| is defined as a local function in the function you linked to. I.e. it can only be called from within that f...

2 months ago | 0

Published


Robotics Toolbox and the New File Exchange Feature
Jiro‘s pick this week is Robotics Toolbox for MATLAB by Peter Corke.This week, I’d like to highlight not only a great...

2 months ago

Thumbnail

Answered
Matlab on an Acer Chromebook?
Have you considered using MATLAB Online? That wouldn't require an installation and would probably offer more horsepower.

2 months ago | 0

Answered
What's the easiest way to call two independent scripts and have them run in parallel?
Either use |batch()| or |parfeval()|

2 months ago | 0

| accepted

Answered
dbstop within a condition
I think keyboard() does exactly what you want. It just stops at that line in debug mode. But to find the number, I'd conside...

2 months ago | 0

| accepted

Published


Sphero
Richard is a Consulting Engineer at MathWorks focused on the Embedded Coder product for code generation, primarily in the...

2 months ago

Thumbnail

Answered
Can NOT access properties when creating a new class by inheriting the gpib class
Looking through the metaclass stack for gpib ( >>?gpib or >>metaclass(gpibobj) and looking at the metaclasses' superclasses) it...

2 months ago | 0

Answered
How to execute timer functions in MATLAB GUI in parallel?
Use |parfeval| in the parallel computing toolbox to asynchronously run the computationally expensive algorithmic (not gui update...

2 months ago | 1

Published


String Art II
Sean‘s pick this week is also stringart by Giuseppe Cardillo.  Jiro picked this last week; I’d already written this post;...

2 months ago

Thumbnail

Answered
What are DEMs good for and what are they not good for?
I would probably use aerial imagery and image processing/computer vision/deep learning to identify the roofs. Most DEMs don't t...

2 months ago | 0

| accepted

Load more