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

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

3 Tage ago | 2 answers | 0

Question

Adjusting Cell and Face Labels in pdegplot

I'm working with the PDE Toolbox using multi-cell geometries. I'm encountering an issue where the face/cell labels in pdegplot r...

23 Tage ago | 0 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...

etwa 2 Monate 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 ...

etwa 2 Monate 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...

etwa 2 Monate 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...

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

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

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

3 Monate ago | 0

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

5 Monate ago | 1 answer | 0

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

6 Monate 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)...

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

7 Monate ago | 2 answers | 0

Answered

Assembly of Global Stiffness Matrix

I'm interested in the same fundimental problem. Working with linear tetrahedra I'm considering a 3D vector system giving 3 degre...

Assembly of Global Stiffness Matrix

I'm interested in the same fundimental problem. Working with linear tetrahedra I'm considering a 3D vector system giving 3 degre...

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

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

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

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

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

etwa ein Jahr 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...

etwa ein Jahr 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...

etwa ein Jahr ago | 1 answer | 0