Community Profile

# Jan Valdman

##### Last seen: 5 días ago
54 total contributions since 2010

Associate professor of applied mathematics

Professional Interests: FEM, nonlinear computational mechanics, a posteriori error estimates, MATLAB vectorizations

View details...

Contributions in
View by

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

20 días ago

Solved

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

20 días ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

20 días ago

Solved

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

20 días ago

Submitted

Enlarge figure axis by a given factor
Given a 2D figure with (eg. tight) axis, this simple code automatically recalculates axis and enlarges them by a prescribed fact...

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

7 meses ago

Minimization of a function with unknown gradient but known sparsity pattern of its hessian
Dear colleague, based on our discussions from yesterday, I implemented a finite difference scheme for a gradient approximation ...

11 meses ago | 0

Question

Minimization of a function with unknown gradient but known sparsity pattern of its hessian
Dear colleagues, is there a fmincon option to minimize a function without the knowledge of its gradient but providing a sparsit...

11 meses ago | 2 answers | 1

### 2

Submitted

Simulation of von Kármán viscoelastic plates
A quasistatic evolution of viscoelastic von Kármán plates.

Solved

Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

12 meses ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 meses ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 meses ago

Solved

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

12 meses ago

Solved

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

12 meses ago

Solved

Given a and b, return the sum a+b in c.

12 meses ago

Submitted

Equilibria of economical models with cost of change
Evaluations of Cournot-Nash and Stackelber-Cournot-Nash equilibria for models with several firms using Gauss method

Submitted

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

Submitted

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.

Submitted

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

Solved

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

casi 2 años ago

Solved

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

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

casi 2 años ago | 1 answer | 0

### 1

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

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

casi 2 años ago

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

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

más de 2 años ago | 2 answers | 1