Community Profile

# Suraj Gurav

### Rheinisch-Westfälische Technische Hochschule, (RWTH) Aachen, Germany

574 total contributions since 2017

-Masters student with specialization - Conception of Machines
-Intern at Robert Bosch GmbH, Stuttgart
-Good programming skills in MATLAB, C and C++
-Worked as Student Assistant (Teaching) for MATLAB/ Simulink tutorials for Masters students
-Interested in working with MATLAB for engineering problems and data analysis

#### Suraj Gurav's Badges

View details...

Contributions in
View by

Question

Need help in Optimization Problem
Hello, for my Master thesis, I have done design of experiments with 25 input parameters (4 different values per parameter) and ...

11 mesi ago | 1 answer | 0

### 1

answer

Solved

Output a vector which is table of 9
Output a vector which is table of 9

11 mesi ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

11 mesi ago

Solved

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

11 mesi 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...

circa un anno ago

Solved

Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

circa un anno ago

Solved

Will there be a new leader?
Simply answer the title.

circa un anno ago

Solved

vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

circa un anno ago

Solved

Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

circa un anno ago

Solved

Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

circa un anno ago

Solved

Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

circa un anno ago

Solved

05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

circa un anno ago

Solved

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

circa un anno ago

Solved

New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

circa un anno ago

Problem

New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

circa un anno ago | 0

Solved

Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?

circa un anno ago

Solved

Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x = 123045; x_vec = [1 2 3 0 4 5]; I happened upon a trick ...

circa un anno ago

Solved

06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_: <<http://samle.dk/STTBDP/Assignment1_3a.png>> ( _aMat_ = 9x9 matrix full o...

circa un anno ago

Solved

Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

circa un anno ago

Solved

How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

circa un anno ago

Solved

Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

circa un anno ago

Solved

Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

circa un anno ago

Solved

It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more <http://www.snopes.com/language/apocryph/cambridge.asp here>) asserted that readers are re...

circa un anno ago

Solved

N-Cards Problem
You have a deck of _N_ cards numbered in order from 1 to _N_. You discard the top card (card 1) and place the next card (card 2)...

circa un anno ago

Solved

Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

circa un anno ago

Solved

Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

circa un anno ago

Solved

Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

circa un anno ago

Solved

Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

circa un anno ago

Solved

select the primes of a vector
Find the prime numbers in a vector

circa un anno ago

Solved

Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

circa un anno ago

Load more