解決済み


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

4年以上 前

解決済み


Complex number
For complex number c=a+bi, write code that will add a and b together.

4年以上 前

送信済み


Implementation of C1 FEM
Detailed implementation of Bogner-Fox-Schmit elements.

約5年 前 | ダウンロード 4 件 |

Thumbnail

送信済み


Hyper elasticity with a non-penetration condition
A 2D FEM solver based on an energy minimisation formulated in C^1 deformation including a new non-penetration term.

約5年 前 | ダウンロード 2 件 |

Thumbnail

送信済み


Element-based Solvers
2D Poisson's solver using only local FEM matrices without the global matrix assembly.

5年以上 前 | ダウンロード 2 件 |

Thumbnail

解決済み


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

5年以上 前

解決済み


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

5年以上 前

質問


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

5年以上 前 | 1 件の回答 | 0

1

回答

解決済み


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

5年以上 前

解決済み


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

5年以上 前

送信済み


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

6年弱 前 | ダウンロード 2 件 |

Thumbnail

送信済み


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

6年弱 前 | ダウンロード 9 件 |

Thumbnail

送信済み


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

6年弱 前 | ダウンロード 9 件 |

Thumbnail

送信済み


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

6年弱 前 | ダウンロード 11 件 |

Thumbnail

送信済み


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

約6年 前 | ダウンロード 1 件 |

Thumbnail

質問


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

6年以上 前 | 2 件の回答 | 1

2

回答

送信済み


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

7年弱 前 | ダウンロード 2 件 |

Thumbnail

送信済み


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

7年弱 前 | ダウンロード 3 件 |

Thumbnail

解決済み


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

約7年 前

解決済み


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

約7年 前

解決済み


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

約7年 前

解決済み


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

約7年 前

解決済み


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

約7年 前

送信済み


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

7年以上 前 | ダウンロード 1 件 |

Thumbnail

質問


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

7年以上 前 | 1 件の回答 | 0

1

回答

送信済み


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

7年以上 前 | ダウンロード 3 件 |

Thumbnail

送信済み


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

8年弱 前 | ダウンロード 2 件 |

Thumbnail

送信済み


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

8年以上 前 | ダウンロード 2 件 |

Thumbnail

送信済み


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

8年以上 前 | ダウンロード 1 件 |

Thumbnail

回答済み
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...

8年以上 前 | 0

さらに読み込む