Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2 years ago

Question


Is there any gradient descent method available?
We are working on the optimization of nonconvex energies in mechanics of solid (see the attached picture) resulting from the fin...

2 years ago | 1 answer | 0

1

answer

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2 years ago

Submitted


Evolutionary model for shape memory alloys
Software for a new article - more details later

2 years ago | 5 downloads |

Thumbnail

Submitted


Fast elastoplastic FEM assembly
Vectorized assembly of FEM matrices and including complete calculations of elastoplasticity benchmarks.

2 years ago | 5 downloads |

Thumbnail

Submitted


Fast FEM assembly: nodal elements
Vectorized assembly of FEM matrices.

2 years ago | 5 downloads |

Thumbnail

Submitted


Fast FEM assembly: edge elements
Vectorized assembly of FEM matrices.

2 years ago | 11 downloads |

Thumbnail

Submitted


Computation of the Friedrichs and Poincare constants in 2D/3D
Computation of Friedrichs and Poincare constants in 2D/3D from generalized eigenvalue problems.

3 years ago | 1 download |

Thumbnail

Question


Matlab Exchange - More authors to one contribution
We are three persons in a team finishing up a Matlab package to upload. I already have an account, but my colleagues not. If the...

3 years ago | 2 answers | 1

2

answers

Submitted


Error identities for variational problems with obstacles
Calculaton of Error identities for variational problems with obstacles

3 years ago | 1 download |

Thumbnail

Submitted


Continuum undergoing combined elasto-plasto-damage transformation.
Time-dependent evolution of the continuum undergoing combined elasto-plasto-damage transformation.

3 years ago | 2 downloads |

Thumbnail

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

4 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Submitted


Lagrange polynomial and its subpolynomials
Construction of the Lagrange interpolation polynomial from its definition.

4 years ago | 1 download |

Thumbnail

Question


vectorization of anonymous function?
I managed to vectorize the function below using inline command: u_function=inline(vectorize('sin(x*y*z^2)'),'x','y','z') x=[...

4 years ago | 1 answer | 0

1

answer

Submitted


Two-phase obstacle problem in 2D and its aposteriori error estimate
Calculation of two-phase obstacle problem in 2D and its a posteriori error estimate

4 years ago | 1 download |

Thumbnail

Submitted


Edges generation
Algorithm generates edges of a conforming 2D/3D triangulation.

4 years ago | 1 download |

Thumbnail

Submitted


Quadrature of the absolute value of a function
Quadrature of the absolute value of a function

5 years ago | 2 downloads |

Thumbnail

Submitted


Two-phase obstacle problem in 1D and its aposteriori error estimate
Calculation of two-phase obstacle problem and its a posteriori error estimate

5 years ago | 1 download |

Thumbnail

Answered
fill3 command working strangely?
Additinally, I also notice that replacing both commands fill3(X,Y,Z,Z) by patch(X,Y,Z); result in the same issu...

5 years ago | 0

Question


fill3 command working strangely?
I came accross a difference in the execution of fill3 command in the following code: figure; subplot(1,2,1) X=[0 1 1 0]'...

5 years ago | 2 answers | 0

2

answers

Submitted


Obstacle problem in 2D and its aposteriori error estimate
An obstacle problem is solved and the error of the solution is estimated

6 years ago | 1 download |

Thumbnail

Submitted


3D Crouzeix-Raviart mortar finite element method
Implementation of 3D Crouzeix-Raviart mortar finite element

6 years ago | 1 download |

Thumbnail

Submitted


Double porosity model
Finite element solution of the double porosity model and its a posteriori error estimate

6 years ago | 3 downloads |

Thumbnail

Submitted


Thermo-magnetic solver
Simulation of a mesoscopic model of temperature/external field-driven evolution of magnetization

6 years ago | 2 downloads |

Thumbnail

Submitted


Obstacle problem in 1D and its aposteriori error estimate
Contact problem is solved by the Uzawa algorithm and the error of the solution is estimated.

7 years ago | 2 downloads |

Thumbnail

Load more