Community Profile

photo

Pascal Wenger


Roche Diagnostics International AG

Active since 2016

Engineer Photonics at Roche Diagnostics, Switzerland.

When I'm not studying MATLAB then you can find me soaring somewhere in the Alps with a sailplane. Also I like a lot freestyle cross country skiing in Winter.

Statistics

  • Quiz Master
  • Matrix Manipulation I Master
  • Speed Demon
  • Creator
  • Indexing I Master
  • CUP Challenge Master
  • Promoter
  • Commenter
  • Solver

View badges

Content Feed

View by

Solved


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

bijna 7 jaar ago

Solved


kmph to mps
convert kilometer per hour to meter per second

bijna 7 jaar ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

bijna 7 jaar ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

bijna 7 jaar ago

Solved


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

bijna 7 jaar ago

Solved


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

bijna 7 jaar ago

Solved


Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

bijna 7 jaar ago

Solved


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

bijna 7 jaar ago

Solved


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

bijna 7 jaar ago

Solved


Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

bijna 7 jaar ago

Solved


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

bijna 7 jaar ago

Solved


Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody. Return as a string the name of the input variable to the functio...

bijna 7 jaar ago

Solved


Equal to their cube
Tell me three real numbers that are equal to their cubes?

bijna 7 jaar ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

bijna 7 jaar ago

Solved


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

bijna 7 jaar ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

bijna 7 jaar ago

Solved


02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...

bijna 7 jaar ago

Solved


Back to basics 25 - Valid variable names
Covering some basic topics I haven't seen elsewhere on Cody. Given a string, return true if it is a valid MATLAB variable nam...

bijna 7 jaar ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

bijna 7 jaar ago

Solved


Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.

bijna 7 jaar ago

Solved


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

bijna 7 jaar ago

Solved


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

bijna 7 jaar ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

bijna 7 jaar ago

Solved


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

bijna 7 jaar ago

Solved


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

bijna 7 jaar ago

Solved


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

bijna 7 jaar ago

Solved


Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

bijna 7 jaar ago

Solved


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

bijna 7 jaar ago

Solved


Add two numbers
Add two numbers (For beginners)

bijna 7 jaar ago

Solved


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

bijna 7 jaar ago

Load more