Question

Vectorising SSIM for multiple calculations

I'm working on an inverse problem in which my iterative method provides many different solutions to the same image. My aim it t...

16 días ago | 0 answers | 0

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

2 meses ago | 2 answers | 0

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

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

4 meses ago | 1 answer | 0

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

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

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

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

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

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

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

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

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

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

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

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

12 meses ago | 1

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

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

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

alrededor de 1 año 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

alrededor de 1 año 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)...

alrededor de 1 año 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...

más de 1 año 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 ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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 ...

más de 1 año 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...

casi 2 años 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...

casi 2 años 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...

casi 2 años ago | 1 answer | 0