photo

Sean de Wolski

MathWorks

Actif depuis 2011

Followers: 0   Following: 0

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.

Statistiques

All
  • MATLAB Mini Hack 2022 Participant
  • MATLAB Mini Hack Participant
  • Master
  • 36 Month Streak
  • Likeable
  • Quiz Master
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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

plus d'un an il y a | 1

| A accepté

Réponse apportée
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...

plus d'un an il y a | 0

| A accepté

Réponse apportée
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...

plus d'un an il y a | 1

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

presque 2 ans il y a | 0

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

presque 2 ans il y a | 0

| A accepté

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

presque 2 ans il y a | 0

Réponse apportée
Can you rotate a shape based on quiver direction?
Look at hgtransform

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 2 ans il y a | 0

Réponse apportée
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-...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
Help with code, writematrix not working. Please help fix
which -all writematrix which -all mpower

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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)) ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

Réponse apportée
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...

environ 2 ans il y a | 1

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Why Matlab does not see Python?
Looks like you have 32-bit python. You need 64-bit Python.

environ 2 ans il y a | 0

Réponse apportée
Convert python numpy 2D array to matlab 2D array
What is the underlying python class of your ndarray? It doesn't seem to be recognized by double. Here, I create it with int8 a...

environ 2 ans il y a | 1

Réponse apportée
Using function of newer MATLAB version in older version
Sounds like you might be looking for wrapTo360 et al. in Mapping Toolbox: https://www.mathworks.com/help/releases/R2021b/map/re...

environ 2 ans il y a | 0

Réponse apportée
Create Text Box in PowerPoint file
All you have to do is set X/Y/Width/Height properties of the TextBox presentation element. See this example that does exactly w...

environ 2 ans il y a | 0

Réponse apportée
Call a MATLAB function from .NET program
https://www.mathworks.com/help/releases/R2021b/matlab/matlab_external/call-matlab-function-from-c-client.html

plus de 2 ans il y a | 0

Réponse apportée
Generating an STL of a paraboloid surface made out of hexagons
1) yes 2) Look at stlwrite and triangulation.

plus de 2 ans il y a | 1

Réponse apportée
surf indices reversed?
I think you're seeing the difference between meshgrid and ndgrid. Meshgrid is used for plotting, ndgrid for matrix/tensor work ...

plus de 2 ans il y a | 1

Réponse apportée
Sending input() from Python API
This works if you start the MATLAB engine with the desktop: import matlab.engine eng = matlab.engine.start_matlab('-desktop'...

plus de 2 ans il y a | 0

Réponse apportée
How can I iterate across the opposite diagonal?
full(flip(gallery('tridiag', 8, 4, 6, 4), 2))

plus de 2 ans il y a | 0

Charger plus