Community Profile

photo

David


Last seen: mehr als ein Jahr ago

University of Zürich

19 total contributions since 2015

Contact

David's Badges

  • 5-Star Galaxy Level 1
  • 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".

mehr als 3 Jahre 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)).

mehr als 3 Jahre ago

Submitted


imadjust3
Alternative to imadjust with N-D support.

etwa 4 Jahre ago | 5 downloads |

Solved


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

mehr als 4 Jahre 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...

mehr als 4 Jahre ago

Solved


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

mehr als 4 Jahre 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...

mehr als 4 Jahre 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:...

mehr als 4 Jahre 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...

fast 5 Jahre 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...

mehr als 5 Jahre 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. ...

mehr als 5 Jahre 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 ...

mehr als 5 Jahre 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...

mehr als 5 Jahre 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 ...

fast 6 Jahre 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...

fast 6 Jahre 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 ...

fast 6 Jahre 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...

fast 6 Jahre 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...

etwa 6 Jahre 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...

mehr als 6 Jahre ago | 1 answer | 0

1

answer