64 total contributions since 2011

Professional Interests: glaciology, atmospheric chemistry, geophysics

Question

How to download file from dropbox using e.g. websave?

Hi there How does one download a shared file (public visibility) from dropbox? I used to use the following code to achieve th...

12 months ago | 1 answer | 0

Question

How to calculate the covariance of two vectors using wcoherence?

Hi there *How does one calculate the covariance of two vectors from the cross-spectrum outputs of the wcoherence function?* ...

2 years ago | 0 answers | 0

Submitted

VoronoiLimit(varargin)

Constrain the vertices of a Voronoi decomposition to the domain of the input data.

2 years ago | 11 downloads |

Question

Determining toolbox dependency of a series of scripts

Hi there I am trying to determine the toolbox dependency of a handful of scripts, all run using the "MainScript.m". I am usin...

3 years ago | 1 answer | 0

Question

Why is legend not saved with hgsave/savefig?

Hi there So I am using hgsave or savefig to save my current figure to a .fig which I then open later on with openfig but when...

3 years ago | 1 answer | 0

Question

Computational Fluid Dynamics (CFD) and Matlab?

I'm wondering: If I wanted to illustrate the 2D/3D air-flow and turbulence around simple solid objects which I define myself, wo...

3 years ago | 3 answers | 3

Question

recommendations for books on global optimization algorithms

Hi all Can anyone recommend any good books on global optimization algorithms? I'd like to get a bit more "under the skin" of ...

3 years ago | 1 answer | 1

Question

Recommended books on machine learning?

Hi all I want to get into the field of machine learning, however there are quite a lot of books out there on the subject. Doe...

3 years ago | 1 answer | 0

Question

Is it possible to move subplot content?

Hi there Say I have a subplot structure of size 3x2 where all 6 subplot handles are stored in a 3x2 matrix. Is it possible to...

3 years ago | 1 answer | 0

Question

Puzzling warning when changing a linear loop to a parfor loop. Need help.

I am trying to change a linear loop of image exporting to a parallel loop. In linear mode the export_fig (the function I am usin...

3 years ago | 0 answers | 0

Answered

How to derive the 2D field and convergence based on xy gradients

I just realized that the function div=divergence(U,V) will do just that. Thanks for your response!

How to derive the 2D field and convergence based on xy gradients

I just realized that the function div=divergence(U,V) will do just that. Thanks for your response!

4 years ago | 0

Answered

How to derive the 2D field and convergence based on xy gradients

Hi Torsten Thanks for the swift response! Reg. the second question: I would like to locate mathematically points of con...

How to derive the 2D field and convergence based on xy gradients

Hi Torsten Thanks for the swift response! Reg. the second question: I would like to locate mathematically points of con...

4 years ago | 0

Question

How to derive the 2D field and convergence based on xy gradients

Hi all This might be an easy question but I am a bit stuck on it. The function gradient yields xy gradients of a 2D field: ...

4 years ago | 3 answers | 0

Answered

question concerning rounding of numbers

Thanks for all of your comments. They helped me greatly!

question concerning rounding of numbers

Thanks for all of your comments. They helped me greatly!

4 years ago | 0

Question

question concerning rounding of numbers

Hi I am having trouble rounding a number to a fixed number of digits. Can anyone explain the problem I am encountering? (As s...

4 years ago | 3 answers | 0

Question

How do I clear the command window in a parfor loop?

It seems that clearing the command window (clc) is not possible in parfor. How do I achieve this then? I.e. i'd like this loop: ...

4 years ago | 1 answer | 0

Question

How to set Xcolor=none for an x-axis

Hi all I am creating a new "axes" within an existing plot. I would like to remove the x-axis line of this new "axes" complete...

4 years ago | 1 answer | 0

Answered

Predefining colors for in-text coloring

Repeated googling led me to this solution {\color[rgb]{1 .5 .2}text} /J

Predefining colors for in-text coloring

Repeated googling led me to this solution {\color[rgb]{1 .5 .2}text} /J

4 years ago | 0

| accepted

Question

Predefining colors for in-text coloring

Hi all I am using the latex approach to coloring segments of e.g. a title. For example: figure plot(rand(10,1),'.') ...

4 years ago | 2 answers | 0

Question

Best global optimization technique

The performance of an optimization algorithm varies greatly depending on the problem at hand. Often performance may vary with st...

4 years ago | 0 answers | 0

Answered

puzzling parfor error during large calculation

I think I may have solved the issue. I dug deep into the optimization code and discovered that it saves a temporary file, and de...

puzzling parfor error during large calculation

I think I may have solved the issue. I dug deep into the optimization code and discovered that it saves a temporary file, and de...

5 years ago | 1

| accepted

Question

puzzling parfor error during large calculation

Hi there I am running a large number of differential evolution optimization runs on a 4-parameter problem, for different inpu...

5 years ago | 1 answer | 0

Question

Exporting handles in vectors alongside a figure

Hi there I am exporting a number of figures (.fig) using saveas in one script and opening them for further analysis in anothe...

5 years ago | 0 answers | 0

Question

How to suppress text output from a globalsearch run

Suppressing output from, say, patternsearch, is simple enough: options=optimset('Display','off') However, I can't seem t...

5 years ago | 1 answer | 0

Question

Nonlinear optimization problem: The final point is the initial point.

Hi there I am trying to perform a non-linear optimization of a model (non-linear line with 3 input parameters) to a positive ...

5 years ago | 1 answer | 0

Question

nonlinear optimization with dynamic constraints

Hi all Is it possible to assign a dynamic set of constraints when using an optimization routine such as fmincon? Specifically...

5 years ago | 1 answer | 2

Submitted

recursive_scriptsearch

Search for strings within multiple scripts

5 years ago | 0 downloads |

Question

Name of convergence method

Hi all This is strictly speaking not a Matlab question, but it does refer to a method I am applying in Matlab and I am unsure...

5 years ago | 1 answer | 0

Answered

Slow debugging for long scripts

Hi again Neither of the proposed solutions seem to resolve the situation. It has to be a software situation because even afte...

Slow debugging for long scripts

Hi again Neither of the proposed solutions seem to resolve the situation. It has to be a software situation because even afte...

5 years ago | 0

Question

Slow debugging for long scripts

Hi all I know that ideally I should try to break up long scripts into smaller components, and I plan on doing that, but for n...

5 years ago | 3 answers | 0