photo

Alexander


Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Born and raised in Wil, Switzerland.
Visited and graduated in Zurich, Switzerland.

Statistica

All
  • Thankful Level 1
  • Scavenger Finisher
  • Leader
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


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

circa 8 anni fa

Risolto


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

oltre 8 anni fa

Risolto


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

oltre 8 anni fa

Risolto


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

oltre 8 anni fa

Risolto


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

oltre 8 anni fa

Risolto


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

oltre 8 anni fa

Risolto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

oltre 8 anni fa

Risolto


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

oltre 8 anni fa

Risolto


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

oltre 8 anni fa

Risolto


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

oltre 8 anni fa

Risolto


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

oltre 8 anni fa

Risolto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

oltre 8 anni fa

Risolto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

oltre 8 anni fa

Risolto


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

oltre 8 anni fa

Risolto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

oltre 8 anni fa

Risolto


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

oltre 8 anni fa

Risolto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

oltre 8 anni fa

Risolto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

oltre 8 anni fa

Risolto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Domanda


Simulink Desktop Realtime (R2015a) and Win8.1
I have a Lenovo T440s with Win8.1 with Simulink Desktop Realtime. The sldrtex_vdp example runs fine in external mode with the de...

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


Simulink: comment block by set_param in callback
I am trying to use the PostLoad Callback to comment out Simulink blocks depending on parameters. So, in a file I have a paramete...

circa 9 anni fa | 0 risposte | 2

0

risposte

Risolto


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

oltre 9 anni fa

Domanda


Simulink: Bitstring extraction from 64bit output of measurement device
Hi I have a device, that outputs several measurements via serial port. Each sample is a 64bit string, which I currently inter...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risolto


Dare to solve this
Find square of any number

oltre 9 anni fa

Domanda


Matlab, Serial port, BITalino
BITalino is a device to measure physiological signals. It connects to a computer via Bluetooth and thereby adds two COM ports, o...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risolto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

quasi 10 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

quasi 10 anni fa

Risolto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function.

quasi 10 anni fa

Risolto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

circa 10 anni fa

Carica altro