Community Profile

photo

Martin Lindfors


Linköping University

Active since 2015

Followers: 0   Following: 0

Message

PhD Student in Automatic Control/Sensor Fusion

Statistics

All
  • First Review
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Fitting a Cauchy or Laplace distribution
For Laplace: The density of a Laplace variate is given by p(x|m, b) = exp(-abs(x-m)/b)/b * const. Equivalently, if you...

7 years ago | 0

Solved


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

7 years ago

Solved


Balanced Ternary Numbers: Easy as |, |-, |o
This problem concerns the so-called <http://en.wikipedia.org/wiki/Balanced_ternary balanced ternary> system for representing num...

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

8 years ago

Solved


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

8 years ago