Community Profile

photo

Sean de Wolski


MathWorks

5,575 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

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

View details...

Contributions in
View by

Answered
How to replace arbitrary groups of matrix entries in a vectorized way?
<edited> A simple for-loop will likely be the fastest and most comprehensible way to do this. For-loops are plenty fast in MAT...

4 days ago | 0

| accepted

Answered
MATLAB start up option -batch no recognized
The -batch option was added in R2019a.

6 days ago | 1

| accepted

Answered
Error using Classificationlearner model in Simulink
Unfortunately this workflow is more painful than it should be. I've found the best set of steps is to: Generate the code for t...

11 days ago | 0

| accepted

Answered
timetables stored within a 1x1 cell array within a .mat file
No. Timetable shipped in R2016b; you'll need to upgrade.

13 days ago | 0

| accepted

Answered
Problem with "datenum" and "datetime" functions
I was able to reproduce this by copying your code from above. It appears the opening ( is bad (right where the arrow is) datet...

21 days ago | 0

| accepted

Published


Convert between RGB and Color Names
Will‘s pick this week is Convert between RGB and Color Names by Stephen Cobeldick. A fairly common challenge I encounter is...

24 days ago

Thumbnail

Answered
How to show an image using the stored vector (matrix) as a variable in the report generator
You could use: imshow(loadedimage) add(R, Figure()) In general I'd stick with Image even if though requires imwriting your im...

26 days ago | 1

| accepted

Answered
Is it possible to organize parfor outputs based on the "thread" number?
parfor ii = 1:10 t = getCurrentTask disp(t.ID) end

27 days ago | 0

Answered
How to make a graph with nodes and edges
What version of MATLAB are you using? graph() was introduced in R2015b

28 days ago | 0

| accepted

Answered
turning legend off in xline function
myxline = xline(10,'r',"Hello") myxline.Label = "" myxline.DisplayName = "" Disable the label and/or DisplayName.

1 month ago | 1

Published


MATLAB Projects
Sean‘s pick this week is MATLAB Project File by Dmitry Ratner and the new Projects functionality in base MATLAB added to...

1 month ago

Thumbnail

Answered
How can I average datetimes of my array?
Look at the retime() function for a timetable.

1 month ago | 0

| accepted

Published


MATLAB Grader Test (Assessment) Generator
Jiro‘s Pick this week is MATLAB Grader Test Generator by Robin T. Bye.MATLAB Grader is a web service product available for...

1 month ago

Thumbnail

Answered
How to remove artifact (“shadow” causing blurry areas) from 3D CT-data
I'd use a multipass set of global and adaptive thresholds. You can adjust the sensitivities and thresholds as necessary. I = i...

1 month ago | 0

Published


Do You Find Yourself Searching for Connection (in Simulink)?
Greg’s pick this week is slQuery by Robert Rasche. Robert has created an impressive mechanism for finding and operating on...

1 month ago

Thumbnail

Answered
How to replace MATLABPOOL to PARPOOL ?
p = gcp; p.NumWorkers Will tell you the number of workers in the pool rather than matlabpool('size')

2 months ago | 0

| accepted

Answered
MAPPING TOOLBOX LAT/LON vectors are not strictly monotonically increasing, hence zi = interp2(LON,LAT,GAIN,loni,lati) ; gives me errors
Look at geointerp which properly projects lat/lon onto a plane so the interpolation values make sense.

2 months ago | 0

Published


Connectionist Temporal Classification Layer
Sean‘s pick this week is Connectionist Temporal Classification Layer by SergeyLA. A Custom Deep Learning Layer in the...

2 months ago

Thumbnail

Answered
Deep Q-learning
https://www.mathworks.com/help/releases/R2019a/reinforcement-learning/ug/q-agents.html

2 months ago | 1

Answered
How to access itemprop = "name" from within a data structure in HTML code using Matlab?
Using htmlTree, this is trivial: tree = htmlTree(fileread('yourfile.html')) div = tree.findElement('div') item = div.getAtt...

2 months ago | 0

Answered
Classdef get methods: allowing get indexing into an array of length either (1x1) or (Nx1).
You could GetAccess Protect the A property and then use a method instead of straight property reference. methods function a ...

2 months ago | 0

Published


Multi-column legend, revisited
Jiro‘s Pick this week is the NumColumns property of the legend function, new as of R2018a.This week, R2019a was...

2 months ago

Thumbnail

Answered
Given an instance of a class (without knowing class name), how to call the constructor?
Might you be interested in inheriting from matlab.mixin.Copyable which gives you a copy method?

2 months ago | 0

| accepted

Answered
AlphaShape: incorrect geometry
How about pointlocation?

2 months ago | 0

| accepted

Answered
How do i copy the content of a folder into another folder.
doc copyfile doc dir doc fullfile Use dir to get the file name and current path, fullfile to build the old and new full file ...

2 months ago | 0

| accepted

Answered
How to add a hyperlink of a pdf file within Simulink?
Insert a text box, a link, and then use MATLAB code with open('your_pdf_file.pdf')

2 months ago | 0

| accepted

Published


World Bank API Access
Sean‘s pick this week is World Bank API Access by Kim9091. Last year, I blogged about writing your own function...

2 months ago

Thumbnail

Answered
Undefined variable "vision" or class "vision.HoughTransform".
Do you have the computer vision system toolbox installed and licensed? ver

2 months ago | 0

Published


Get your key press
Jiro‘s pick this week is getkey by Jos.Here’s an entry from a long-time user. Honestly speaking, I’m surprised why this...

3 months ago

Thumbnail

Answered
Can you detect when a title is added to a plot?
If the axes already exists, this seems to work ax = axes addlistener(ax.Title,'String','PostSet',@(~, ~)disp('hi')) title('He...

3 months ago | 0

Load more