photo

Jan Valdman


Last seen: 6 days ago Active since 2010

Followers: 0   Following: 0

Message

Associate professor of applied mathematics https://sites.google.com/site/janvaldman/ Professional Interests: FEM, nonlinear computational mechanics, a posteriori error estimates, MATLAB vectorizations

Statistics

All
  • Thankful Level 2
  • Personal Best Downloads Level 3
  • First Review
  • 5-Star Galaxy Level 4
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Submitted


Path-following method for algebraic inclusions
Implementation of the semismooth* method.

2 months ago | 0 downloads |

Thumbnail

Solved


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

4 months ago

Solved


Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

4 months ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

4 months ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

4 months 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

1 year ago | 3 downloads |

Thumbnail

Submitted


Evaluation of intrinsic rotations
We provide an alternative to the function rotm2eul from Robotics System Toolbox and comparisons.

1 year ago | 2 downloads |

Thumbnail

Submitted


HADAMARD’S INEQUALITY IN THE MEAN
Evaluation of the HADAMARD’S INEQUALITY IN THE MEAN in 2 space-dimensions.

1 year ago | 1 download |

Thumbnail

Submitted


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

2 years ago | 1 download |

Thumbnail

Submitted


Constitutive model of shape memory alloys
An unconstrained minimization of FEM discretized energies.

2 years ago | 3 downloads |

Thumbnail

Question


quasi-Newton method with initial Hessian + preconditioning
I am heavily dependent on the quasi-Newton method in the minimization of nonlinear energies f(x)-> min discretized by the fi...

2 years ago | 1 answer | 0

1

answer

Submitted


Semismooth* Newton method for contact friction problems
Finite element solution of a contact problem with a Tresca friction by the semismooth* Newton method.

3 years ago | 1 download |

Thumbnail

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

4 years ago

Question


A fast cell array generation
Dear all, in our optimization procedure, we need to create a cell array 'v_indices' from a vector 'v' and another cell array of...

4 years ago | 1 answer | 0

1

answer

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

4 years ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

4 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4 years ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

4 years ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

4 years ago

Solved


Return area of square
Side of square=input=a Area=output=b

4 years ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

4 years ago

Solved


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

4 years ago

Solved


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

4 years ago

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

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

4 years 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]; ...

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

4 years ago

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

5 years ago

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

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

5 years ago | 2 answers | 1

2

answers

Load more