photo

David


University of Zürich

Last seen: 5 years ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • 5-Star Galaxy Level 1
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Solver

View badges

Feeds

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

7 years 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)).

7 years ago

Submitted


imadjust3
Alternative to imadjust with N-D support.

7 years ago | 4 downloads |

Solved


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

8 years 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...

8 years ago

Solved


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

8 years 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...

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

8 years 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...

8 years 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...

9 years 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. ...

9 years 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 ...

9 years 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...

9 years 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 ...

9 years 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...

9 years 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 ...

9 years 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...

9 years 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...

9 years 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...

9 years ago | 1 answer | 0

1

answer