Community Profile

photo

Kai


Last seen: 2 months ago
7 total contributions since 2018

Kai's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


print figure with fixed border
How can I create and print figures with a fixed, predefined border? The context is to create a series of pictures to be used in...

1 year ago | 0 answers | 0

0

answers

Question


Creating array by picking certain elements from another array
Let's say I am given two arrays A and B of size 100x100x5. The entries of A are either NaN or integers from 1 to 10, such that t...

2 years ago | 1 answer | 0

1

answer

Question


Call subfunction many times: Nested or local
I have a question regarding performance. Consider the following code: test1 = 0; for k = 1:100000 test1 = testfun(t...

2 years ago | 2 answers | 0

2

answers

Question


Repeat and shift array elementwise
Hey, I have some problem about dealing with arrays. I think it is best explained with some example, so let's say I'm given the v...

2 years ago | 1 answer | 1

1

answer

Question


Find inner points among a set of points on a regular grid
I am dealing with the following problem: *Given a two-dimensional regular grid G = [a*h:h:b*h]x[c*h:h:d*h] and a subset S of ...

2 years ago | 2 answers | 0

2

answers

Question


Convert gridded data to coordinate matrix
Hello, I was wondering if there is some Matlab command to convert gridded data to a coordinate matrix. For instance, I have ...

2 years ago | 1 answer | 0

1

answer

Question


Strange results for evaluating quadratic function on a linspace
Could it be that linspace is not working quite exactly? Consider the following code: X = linspace(-1.2,1.2,25); F =@(...

3 years ago | 2 answers | 0

2

answers