Community Profile

photo

ADSW121365


Last seen: 1 year ago Active since 2019

Statistics

  • First Review
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Thankful Level 3

View badges

Content Feed

View by

Answered
how to use the "tight" function for just one axis
Documentated Function: xlim('tight') https://uk.mathworks.com/help/matlab/ref/xlim.html

1 year ago | 4

Question


Numerical Precision Physics Calculations
I believe I may be encountering issues related to the numerical precision, but my understanding is limited so I wanted to ask th...

1 year ago | 1 answer | 0

1

answer

Question


Genetic Algorithm for points External To a Specific Volume
I'm using the GA to select measurement points in a three-dimensional physics problem. I can tell GA to select only N_points ins...

1 year ago | 1 answer | 0

1

answer

Question


Uniquetol which preserves the first occurance
I'm using the uniquetol function to filter some data by rows. Here each column gives a weight value with respect to a specific b...

2 years ago | 1 answer | 0

1

answer

Question


Meshgrid orthogonal to a line in 3D Space
In 3D space, how do I generate a set of points, like a meshgrid, orthogonal to a specific straight line passing through its cent...

2 years ago | 3 answers | 0

3

answers

Question


Searching for closely related filenames in a directory
I'm working on some efficiency based code which essentially will check if a filename exists, and load the file in if it does. I ...

3 years ago | 2 answers | 0

2

answers

Question


Improving Processor Usage In InterpolateSolution from the PDE Toolbox Via Parallel Computing?
I have a set of ~50 saved results structures from the PDE Toolbox, at roughly 7GB each, on which I need to interpolate to differ...

3 years ago | 0 answers | 0

0

answers

Question


Saving Specific Figure Handle For Recovery After Plotting Many Figures
I'm writing quite a complicated simulation which involves multiple calls to different functions/subfunctions. The full setup has...

3 years ago | 1 answer | 0

1

answer

Question


Plotting A Large Number Of Patches
There are a few older topics on this, but nothing I could find which is directly relevent I don't think. I'm utilising a modifie...

3 years ago | 1 answer | 0

1

answer

Question


Vectorising a Meshgrid Coordinate Construction
I have three coordinate arrays (file attached) of size [M x 2], where M is the number of elements and the 2 represents different...

3 years ago | 1 answer | 0

1

answer

Answered
Correctly identifying faces of geometry that is displayed with pdegplot()
Another workaround which I use is to find nodes associated with faces and plot them onto a pdegplot to highlight specific faces:...

3 years ago | 1

Question


PDE Toolbox via Linux Server SSH Memory Corruption Error
I'm trying to use some code I've written on the universities Linux server but I'm encountering an error in running the code ther...

3 years ago | 0 answers | 0

0

answers

Answered
Creating modified cavities in 3D models.
All of this is definitely possible, but the inbuilt CAD capabilities/geometry design in MATLAB aren't its strongest point. Fro...

4 years ago | 0

| accepted

Question


Importing A Quadratic Mesh (GeometryFromMesh)
I'm using the PDE Toolbox and the geometryFromMesh function to import meshes made externally (gmsh). The PDE Toolbox supports bo...

4 years ago | 0 answers | 1

0

answers

Answered
Visualising 3D Cubes with a colour map
This can be achieved nicely using plotcube from the file exchange and a for loop: Plot Cube facealpha = .5; for index = 1:le...

4 years ago | 0

Question


Visualising 3D Cubes with a colour map
As part of a model I'm working on, I have discretised a problem into "brick elements" or "cubic voxels". The assumption then is ...

4 years ago | 2 answers | 0

2

answers

Answered
Point Categorisation via a suggested Mathematica If Statement
Utilising Walters suggested syntax, the expected code in MATLAB is: f_1 = (abs(location.x) <= abs(location.y)).*sign(locati...

4 years ago | 0

| accepted

Answered
Can I program the selection of faces for PDE modelling of a 3D object?
Not directly what you're searching for but something which could be applied in the same way is an undocumented function I found ...

4 years ago | 1

Question


Point Categorisation via a suggested Mathematica If Statement
I've been trying to figure out how to convert this for too long but without success - I'm hoping this is more obvious to a fresh...

4 years ago | 2 answers | 0

2

answers

Question


Second order derivatives in the PDE Toolbox
The PDE toolbox is pretty brilliant in that it evaluates the spatial derivitives of your function as well as the function itself...

4 years ago | 0 answers | 0

0

answers

Answered
Reading *.msh files (3D) in Matlab.
If you're using gmsh, you can use its inbuilt exporter to export a .m file to read into MATLAB. This loads in a structure arra...

4 years ago | 4

| accepted

Question


Additional Inputs PDE Toolbox f coefficient
My code below is generating some sort of error, however I'm not sure the error message is consistent with the problem which is a...

4 years ago | 1 answer | 0

1

answer

Answered
Loading .stl 3D geometry PDE Toolbox with two cellzones
You can't load in multiple geometries seperately in 3D to my knowledge. From my current experience, the only way to properly man...

4 years ago | 1

| accepted

Question


3D Multi-Domain PDE Modelling
The associated geometry for my problem is given below, where cell 1 is the current containing region and cell 2 is the surroundi...

4 years ago | 1 answer | 1

1

answer

Answered
Creating a 3D Multidomain PDE Object:
This question was also posted on stack exchange where a very helpful answer was posted: Stack Exchange Answer

4 years ago | 0

| accepted

Question


Creating a 3D Multidomain PDE Object:
I have a geometry currently defined via .stl file (attached below). Unfortunetly, as noted in the documentation (STL Limitation)...

4 years ago | 1 answer | 0

1

answer

Question


Linspace with varying increment
I'm interested in creating a set of numbers between fixed start and end points . I know I have 2 options to do this with a fixed...

4 years ago | 2 answers | 0

2

answers

Question


Colouring Tetramesh - Element wise
I'm working with tetrahedral finite elements. I can happily set up a mesh and work with said mesh. A really simple example code ...

4 years ago | 2 answers | 0

2

answers

Question


Converting FORTRAN code for Finite Element Analysis - Dealing with a Go To Command
Hello everyone, I'm working on a problem and trying to come to grips with finite element analysis. I'm working from "A Simple...

4 years ago | 1 answer | 0

1

answer

Question


Quadratic Programming (quadprog):
Hey everyone, I'm currently trying to get my head around how quadprog works to apply it to a problem I'm working on. In the cur...

4 years ago | 1 answer | 1

1

answer

Load more