# Wolfgang Schwanghart

### University of Postdam

Professional Interests: GIS, Physical Geography, Hydrology, Geomorphology

**Statistics**

RANK**793**

of 250.268

REPUTATION**69**

CONTRIBUTIONS

**3** Questions

**39** Answers

ANSWER ACCEPTANCE **
33.33%
**

VOTES RECEIVED**17**

RANK**146** of 17.386

REPUTATION**7.975**

AVERAGE RATING**4.50**

CONTRIBUTIONS**17** Files

DOWNLOADS **225**

ALL TIME DOWNLOADS**73403**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

TopoToolbox

A MATLAB program for the analysis of digital elevation models

9 mesi ago | 61 downloads |

Solved

Create an n-by-n null matrix and fill with ones certain positions

The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

circa un anno ago

Solved

Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

oltre un anno ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

oltre un anno ago

Question

Fit Gaussian mixture model with weighted observations

Hi everyone, looking at the help of fitgmdist, I cannot see that there is the possibility to weight observations. Is there a rea...

circa 2 anni ago | 3 answers | 0

### 3

answers2D gaussian filter with a variable sigma

Hi Chad, below is some code that does the trick using nlfilter. To be more efficient, I created a look-up table with a finite s...

circa 3 anni ago | 0

What makes a Toolbox a Toolbox, and how is it recognized by Matlab?

Hi Chad, the trick is to have a Contents.m-file in the main folder of your toolbox. In TopoToolbox, the file starts with T...

oltre 3 anni ago | 0

Submitted

Non-crossing polynomial quantile regression

Non-crossing polynomial quantile regression

circa 6 anni ago | 4 downloads |

Submitted

Flow Accumulation (upslope area)

Flow accumulation algorithm that routes through flats

circa 7 anni ago | 4 downloads |

Question

Customized icons in workspace

Hi all, I have written a couple of MATLAB classes and, as icing on the cake, I'd like to have customized icons in the worksp...

circa 8 anni ago | 0 answers | 1

### 0

answersSolved

index of n in magic(n)

let input=5; magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 ...

circa 8 anni ago

Solved

Order of things - 1

Let's assume you have a number of calculations to perform, that depend on each other. E.g. 'A' can be calculated, once the outco...

circa 8 anni ago

Solved

Count decimal digits of a number

* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

circa 8 anni ago

Solved

Check if equal

Return true if all the elements of an nD array are equal, false otherwise.

circa 8 anni ago

Solved

Add a row of zeros on top of a matrix

Given a matrix, insert a row of zeros as the top row.

circa 8 anni ago

Solved

Too Many Zeros, Dump Them!

Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

oltre 8 anni ago

Solved

Enlarge array

Given an mxn numeric array (A) and a 1x2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m*p)x(n...

oltre 8 anni ago

Solved

Pascal's pyramid

In Pascal's triangle each number is the sum of the two nearest numbers in the line above: 1 1 1 ...

oltre 8 anni ago

Solved

Create an index-powered vector

Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

oltre 8 anni ago

Solved

Matrix to column conversion

Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

oltre 8 anni ago

Solved

Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]

The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

oltre 8 anni ago

Solved

Free passes for everyone!

_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

oltre 8 anni ago

Solved

Number of digits in an integer

Specifies how many digits in a given integer. Example: in=100 ==> out=3

oltre 8 anni ago

Solved

Generate a NaN...on purpose

The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

circa 9 anni ago

Solved

Finding peaks

Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...

circa 9 anni ago

Solved

Find smallest integer type to accommodate your number

MATLAB supports 1-, 2-, 4-, and 8-byte storage for integer data. Find the smallest integer type to accomodate a scalar integer. ...

circa 9 anni ago

Problem

Find smallest integer type to accommodate your number

MATLAB supports 1-, 2-, 4-, and 8-byte storage for integer data. Find the smallest integer type to accomodate a scalar integer. ...

circa 9 anni ago | 3 | 25 solvers

Solved

Max index of 3D array

Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

circa 9 anni ago