Community Profile

photo

Sean de Wolski

MathWorks

Last seen: Today 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.

Statistics

All
  • Scavenger Finisher
  • Master
  • 36 Month Streak
  • Quiz Master
  • Creator
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • Thankful Level 2
  • Revival Level 3

View badges

Content Feed

Answered
How to have multiple lines in a table variable name?
t = table(1,'VariableNames',"hello"+newline+"world") t(1, "hello"+newline+"world") Not sure why you'd want this though?

13 days ago | 0

| accepted

Published


Import Explorer to help you with importing table data
Jiro's Pick this week is Import Explorer for tables by Jan Studnicka.When importing data as a table, you can use...

23 days ago

Thumbnail

Published


Industrial Machinery Anomaly Detection
Rachel is the product manager for predictive maintenance at MathWorks. Rachel's pick this week is Industrial...

2 months ago

Thumbnail

Answered
Run reinforcement learning Agent on raspberry
You won't want to compile the MEX file to run on the Pi because it requires MATLAB. Instead generate code and recompile it for ...

2 months ago | 0

| accepted

Published


Widgets Toolbox – MATLAB App Building Components
Sean's pick this week is Widgets Toolbox by Robyn Jackey. Contents ...

2 months ago

Thumbnail

Answered
Is there a MATLAB package manager?
Right now there is no package manager like the ones you listed in that everything in MATLAB is tied to the path. Using MATLAB A...

2 months ago | 0

| accepted

Answered
I need to run this python code in MATLAB. Can anyone guide me, please?
Why not use MATLAB's native MODBUS support? MODBUS Communication - MATLAB & Simulink (mathworks.com)

2 months ago | 0

Answered
ga optimization share variable between constraint and objective function to reduce computational time
All of your constraints are simple arithmetic. I think you could solve this much more quickly and effectively as a mixed intege...

2 months ago | 0

Published


Visualizing Earth and Celestial Bodies
Jiro's Pick this week is 3D Earth and Celestial Bodies (planet3D) by Tamas Kis.I'm not an expert in astronomy or space...

2 months ago

Thumbnail

Published


Face Detection with Deep Learning
Brett's Pick this week is MTCNN Face Detection, by Justin Pinkney, a MathWorks colleague from our Consulting Department.We...

2 months ago

Thumbnail

Answered
Matlab Forecast Report Example File
Hi Ian, You can email me at: char(matlab.net.base64decode("c2Rld29sc2tAbWF0aHdvcmtzLmNvbQ==")) and I'll get you the files.

3 months ago | 1

| accepted

Answered
How do you add a header to a printed figure?
You can use the MATLAB Report Generator to build sophisticated reports with whatever formatting, chapters, sections, etc. you ne...

3 months ago | 0

Answered
How to shift all the non-zero elements of a matrix to the right of the matrix?
Without loop or cells: x = [1 2 3 0 0 1 2 0 0 0 1 2 3 0 0 0 1 0 0 1 2 3 1 2]; xt = x.'; sxr = sort(logical(xt), 1, ...

3 months ago | 2

Answered
Trouble with jsondecode() and jsonencode()
fprintf(fid,"%s",str2) That way if there are format spec characters in the JSON they are not interpretted as such.

3 months ago | 1

Answered
How can I create a standalone application using my model from Regression Learner?
You need to get the data into the compiled app. Typically with compiling to an executable this would be by passing in a file na...

3 months ago | 0

Published


Satellite Trajectory
Will's pick this week is Satellite Trajectory by Huy Nguyen. This submission provides an app that you can install and add...

3 months ago

Thumbnail

Answered
TiledLayout fill with for loops
f = figure; t = tiledlayout(f,5,3); for ii = 1:15 nexttile(t) plot(sin(1:(ii*10))) end

3 months ago | 0

Answered
Is it possible to vectorize this?
A = [1 2 0 3 4 6; 9 3 4 0 9 5; 4 3 0 5 6 7; 3 7 7 3 0 0;1 1 8 8 4 8; 0 0 0 0 4 2; 0 0 0 0 0 0] B = accumarray(repmat((1:height(...

3 months ago | 2

| accepted

Answered
How to add graph in the template used for report generation
The plot can go into any block hole you have in the template. You can use mlreportgen.dom.Image or mlreportgen.report.Figure to...

3 months ago | 2

| accepted

Answered
What MATLAB functions are underappreciated?
onCleanup - I want to reliably do this thing at the end... I've actually gotten to the point that I will pass these (or cell ar...

3 months ago | 1

Answered
What MATLAB functions are underappreciated?
tempname/tempdir - Need to write something and guarantee write permissions on any platform...

3 months ago | 0

Answered
What MATLAB functions are underappreciated?
mfilename I use this all of the time for building relative file or folder paths. I want currentProject().RootFolder to replace ...

3 months ago | 0

Answered
How to reshape a dataset?
Convert the dataset to the much more modern and supported table using dataset2table. Look at unstack()

3 months ago | 0

| accepted

Answered
datenum resulting in incorrect values
Please use datetime instead of datenum. If you have an excel date, you can convert directly from that d = datetime(x, 'Convert...

4 months ago | 1

Answered
How to correctly use MONTHS function?
You should use datetimes, durations and the between function for this: >> d1 = datetime('may 31 2000', 'InputFormat', 'MMM dd y...

4 months ago | 0

Answered
How to convert arc length to km?
Arc length from the distance function is the distance. It will be in units of the ellipsoid or the value of the fifth input arg...

4 months ago | 0

| accepted

Answered
How to add set/get methods methods in class constructor
You want dependent properties: Set and Get Methods for Dependent Properties - MATLAB & Simulink (mathworks.com)

4 months ago | 0

Answered
Finding threshold value with Otsu Method
doc graythresh

4 months ago | 0

Answered
Will newer versions of the MATLAB Compiler Runtime work on older versions of MATLAB?
No. The runtime needs to match the version of MATLAB it was compiled with.

4 months ago | 0

| accepted

Published


Get the Ship Stuck!
In this blog post, I want to get the Ever Given cargo ship stuck in the pond next to MathWorks at scale. This blog post is...

4 months ago

Thumbnail

Load more