Community Profile

# Bernhard

Last seen: Today Active since 2014

All

#### Content Feed

View by

How to tick the parameter in the plot of a parametric function?

4 maanden ago | 0

Question

How to tick the parameter in the plot of a parametric function?
I have a plot of a parametric function, as in the following simple example: t = linspace(0, 1, 1000); x = t.^2; y = t.^3; f...

4 maanden ago | 3 answers | 0

### 3

Question

pick elements from a 3d array, based on an indexing matrix
I have a 3d array A with nr rows, nc columns, and np pages, and an nr x nc indexing matrix I with integer elements between 1 and...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Element-wise raise an array to an integer power
Hi everybody, I found that the element-wise multiplication of a large array (a.*a.*a) is much faster than the equivalent elem...

meer dan 4 jaar ago | 2 answers | 1

### 2

Question

MATLAB implementation of focus stacking techniques?
I have a stack of photos of a small still object (macro photography), taken from known camera positions with a StackShot macro r...

bijna 8 jaar ago | 0 answers | 0

### 0

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

bijna 8 jaar ago

Submitted

shift.m
shift the elements of an array (of any dimension)

Submitted

fraccircshift
expands circshift to non-integer shift values

passing a mat file variable to a function
Hi dpb, thank you for answering to my question. The problem with just loading var from within myfun is that var needs not ...

bijna 9 jaar ago | 0

Question

passing a mat file variable to a function
I have written a function myfun.m which works on a very large input variable var stored in a file myfile.mat in the current fold...

bijna 9 jaar ago | 2 answers | 0