Community Profile

# Christos Saragiotis

### Saudi Aramco

Last seen: etwa 2 Monate ago Active since 2003

All

#### Content Feed

View by

Solved

Scrabble Scores - 3
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

etwa ein Jahr ago

Solved

Scrabble Scores - 2
An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

etwa ein Jahr ago

Solved

Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

etwa ein Jahr ago

Solved

Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

etwa ein Jahr ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa ein Jahr ago

Solved

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

etwa ein Jahr ago

Solved

Create a dictionary
The goal is to write a function that returns a dictionary from a list of words or phrases and their definitions. Here is an exam...

etwa ein Jahr ago

How can I change the time axis unit in a spectrogram from minutes to seconds?
Deborah, you might want to give us your code, then everything will be much simpler.

fast 5 Jahre ago | 0

Solved

Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

mehr als 8 Jahre ago

Solved

Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

mehr als 8 Jahre ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

mehr als 8 Jahre ago

Solved

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

mehr als 8 Jahre ago

Solved

Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

mehr als 8 Jahre ago

Solved

Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

mehr als 8 Jahre ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mehr als 8 Jahre ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mehr als 8 Jahre ago

Solved

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

mehr als 8 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 8 Jahre ago

Need to Decrease the Width of FFT
Dear Chirag, From what you say, I understand that you want to decrease the df of your spectrum. You know that df = 1/(N dt), ...

fast 11 Jahre ago | 1

Submitted

Plotstack
A plot utility, to plot graphs one over the other (or one next to the other vertically)

Submitted

Peaks picking
Finds peaks or troughs in a vector o 2-D matrix.

Submitted

Graphical convolution animation
Shows graphically the stages of discrete convolution for any two 1-D signals (educational tool).

Submitted

Lomb normalized periodogram
Both functions calculate the Lomb-Scargle periodogram (aka Gauss-Vanicek/Least-squares spectrum)

Submitted

Fresnel integrals
Calculates FresnelC, FresnelS integrals and their variations (C_1, C_2 and S_1 and S_2)

Submitted

Laplace random variables
This function generates random numbers distributed according to the Laplace distribution

Submitted

Actual zero or any-value crossing
Finds actual zero (or any other value) "actual" crossings