Community Profile

# Sean de Wolski

### MathWorks

Active since 2004

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

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

All

#### Content Feed

View by

currentProject() function in Parallel Computing Toolbox
You can open the project on all workers before the loop with parfevalOnAll. gcp rf = currentProject().RootFolder parfevalOnAl...

ungefär en månad ago | 1

| accepted

Why will categorical not convert this cell string?
The left-hand side was a cell. So it successfully converted the right-hand side to categorical but then could not stick the cat...

ungefär 2 månader ago | 0

| accepted

Smart indent new bheaviour (removing whitespaces) is messing with Git
This isn't a direct answer to your question but a couple ideas: 1) In my opinion, the new behavior is smarter. There shouldn't...

Published

Learning programming through game building
Jiro's Pick this week is AstroVolley Courseware by Paul Huxel.Back in my undergraduate studies (many, many years ago), I...

Can Matlab append figures to an existing PDF file?
In newer releases you can do this with exportgraphics. See the section on appending.

Published

Get your subplots the way you want it with subplotHelper
Jiro's Pick this week is subplotHelper by my Frederick Zittrell.Did you know that subplot can be used to create...

Published

Dave’s MATLAB Shooter
Will's pick this week is Dave's MATLAB Shooter(data) by David Buckingham. This submission is way back in 2010, but it has...

Creating Geometry for PDE model
What about the doc example isn't sufficient for you? It literally creates a rectangle. geometryFromEdges

| accepted

Capitalize 1st word of an character array
s = "99this" firstletter = letterBoundary("start")+lettersPattern(1) replace(s, firstletter, upper(extract(s, firstletter)))

Can you rotate a shape based on quiver direction?
Look at hgtransform

Find and Replace (MATLAB)
strip(extractAfter('Adak Island, AK',",")) And see the other fun methods of string to figure out how to manipulate the part you...

| accepted

Is there a built-in function to validate a class property that should be a cell array?
I think you'll have to write your own. Must be underlying type is for distributed, gpuArrays and others that masquerade as the ...

How to vectorize the following operations?
This ought to do it for you in one shot. pagemtimes d = 4; n = 5; A = rand(d,d,n); x = rand(d,n); y = rand(d,n); % for-...

How can I avoid errors related to a datatip when deleting a figure?
Not sure why you're parenting to [], that doesn't make sense. Just delete the figure with your MWE works fine. (Still probably...

Create tables based on partial match in variable names in other table
Convert your cellstrs to strings string(t.Properties.VariableNames) Then you can use any of the easy string matching functions...

which -all writematrix which -all mpower

How do I pass by reference, a structure to a function (an .m file) in an argument list?
Author a simple handle class that has the structure as a property classdef referenceStruct < handle properties S s...

| accepted

Published

Take your Live Script to WordPress
Jiro's Pick this week is Publishing tool for MATLAB® live script to WordPress by my colleague Cheng Chen.I do two different...

How do I pass an object into a timer callback function?
Pass cam in with an anonymous function when you create the timer cam = camera t = timer(TimerFcn=@(~,~)checkFinished(cam)) ...

| accepted

Show viscircles results in App Designer
Specify the app UIAxes as the first input a = uiaxes; % replace with you app.UIAxes imshow('coins.png',Parent=a) [centers,rad...

| accepted

Extracting xyzpoints from Point Cloud
The location is the xyz points and it's 2d, not 3d like how you're indexing it. points3d = ptCloud.Location.'; Would give you...

| accepted

Creating tables on MS Word
This is exactly what the MATLAB Report Generator does really well. Look at the sections on tables and images, here: https://ww...

How to publish as pdf from command tab
Open the function and go to the publish tab in the toolstrip. From there, click the dropdown under the publish icon for settings...

Published

Detecting Ellipses in Images
Brett's Pick this week is Ellipse Detection Using 1D Hough Transform, by Martin Simonovsky.ContentsIntroductionThe SourceThe...

Published

Jiro's Pick this week is BoxPlotPro by Carlos Borau.I'm a big fan of apps, since using apps simplifies tasks for common use...

ungefär ett år ago

Published

ranker(data)
Will's pick this week is ranker(data) by R P. They say it's the little things in life. I find this simple little function...

ungefär ett år ago

Is it a good idea to overload subsref to mimic MATLAB's griddedInterpolant behavior?
Personally, i.e. not speaking for my corporate overlords, I don't like this design pattern. I prefer a well-named "evaluate" me...

ungefär ett år ago | 1

How to fix auto-reflow issues?
In 21b you can remove autoreflow from the Canvas Tab>Convert. They named the feature to remove it after me because I was in the...

ungefär ett år ago | 0

| accepted

Published

The spirit of winter olympics continues
Jiro's Pick this week is BingDunDun by idMatlab.It's been almost 10 days since the close of the Beijing Olympic Winter...

ungefär ett år ago