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...

5 jours ago | 1 answer | 0

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...

environ 2 mois ago | 1 answer | 0

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:...

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 mois ago | 0

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 mois ago | 0 answers | 0

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...

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 mois 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...

5 mois ago | 0 answers | 1

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...

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...

5 mois 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 ...

5 mois ago | 2 answers | 0

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...

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...

6 mois 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 ...

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 ...

6 mois 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...

6 mois ago | 2 answers | 0

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...

7 mois ago | 0 answers | 0

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...

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...

8 mois ago | 0

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...

8 mois ago | 1 answer | 0

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...

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...

8 mois 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...

10 mois ago | 1 answer | 1

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

Creating a 3D Multidomain PDE Object:

This question was also posted on stack exchange where a very helpful answer was posted: Stack Exchange Answer

10 mois 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)...

11 mois ago | 1 answer | 0

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...

11 mois ago | 2 answers | 0

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 ...

presqu'un an ago | 1 answer | 0

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...

environ un an ago | 1 answer | 0

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...

environ un an ago | 1 answer | 1

Question

Visualising Volume Object Data

Hey everyone, I know there's a lot of questions on this problem but I can't find anything which quite works the way I'd like ...

plus d'un an ago | 1 answer | 0

Question

Integral2 With Spherical Harmonics

I have a function to evaluate a specific spherical harmonic at some nth, mth order for some given Theta,Phi input. Currently I g...

plus d'un an ago | 1 answer | 0

Question

Logical Indexing with Complex Numbers

So I have a data set of coefficients which are calculated from a Laplace expansion into spherical harmonics. The resulting coeff...

plus d'un an ago | 1 answer | 0

Question

Curve fitting & Plotting On Logarithmic y, linear x

I have a plot which looks something like this; Which is a pretty nice plot upon which I'd like to curvefit. Within the curve...

plus d'un an ago | 1 answer | 0