Community Profile

photo

David


University of Zürich

19 total contributions since 2015

Contact

David's Badges

  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Solver

View details...

Contributions in
View by

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

presque 2 ans ago

Solved


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

environ 2 ans ago

Submitted


imadjust3
Alternative to imadjust with N-D support.

plus de 2 ans ago | 3 downloads |

Solved


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

plus de 2 ans ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 2 ans ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 2 ans ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 2 ans 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:...

plus de 2 ans ago

Question


Proper way to save and load object linked list / container / graph like structures
Hi everyone, I'm currently developing a rather large and complex data structure based around Matlab's OOP. I have a central c...

environ 3 ans ago | 0 answers | 0

0

answers

Question


Best way to organise external toolboxes or turn them into packages
Hi folks, I'm working on a project with very different types of analysis involved and I utilise a couple of external toolboxe...

presque 4 ans ago | 0 answers | 0

0

answers

Question


FFT of wave packet, strange phase behaviour
Hi, I'm computing the fft of a wave packet (centred at t= 0, odd number of entries!) to determine its frequency and phase. ...

presque 4 ans ago | 0 answers | 0

0

answers

Question


parallel workers cannot see GPUs
I'm currently working on code that should run on a number of different HPC machines with multiple GPUs. The machine I'm testing ...

presque 4 ans ago | 0 answers | 0

0

answers

Question


Criterion for stability of oscillations / frequency stability?
Hi Matlab Community, I'm looking for a criterion (best case available in Matlab) to quantify stability of oscillations. I hav...

environ 4 ans ago | 1 answer | 0

1

answer

Question


Empty objects not calling get method?
Hi, I have a problem regarding object oriented programming in Matlab: If I have an empty object, i.e. myObject.empty I can ...

environ 4 ans ago | 1 answer | 0

1

answer

Question


Area of curved surface
Hi, I have data points belonging to a surface in 3D. I want to calculate the surface area of it. What are my options? If poss...

plus de 4 ans ago | 2 answers | 1

2

answers

Question


Multiple Outputs in object method?
I'm working with OOP in matlab and I want to define a function to output multiple arguments. The idea is to easily concatenate ...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Machine learning for peak characterisation
I have intensity profiles (extracted from an image analysis). Basically just f(x). With large datasets of different profiles. Th...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Draw perfect 4 connected polygon skeleton OR Create polygons and characterise their regions
Hi, I have a segmentation of a cell layer (see Image). I extracted cell vertices and cell edges. Now based on the vertices al...

plus de 4 ans ago | 0 answers | 0

0

answers

Question


Use both multi core CPUs
Hi, I have a two CPU multi core machine (16 cores each). I want to use a parfor loop on all 32 cores. But maxNumCompThreads g...

plus de 4 ans ago | 1 answer | 0

1

answer