Community Profile

# Prerak Srivastava

22 total contributions since 2018

View details...

Contributions in
View by

Solved

Create vector as shown in test cases
Create vector as shown in test cases

plus de 2 ans ago

Solved

Try and Catch Simple Example
Try and Catch Simple Example <http://in.mathworks.com/help/matlab/ref/try.html Example> Vector x=[1 4 6 8 10]; Create...

plus de 2 ans ago

Solved

Find out Harmonic mean.
Find out Harmonic mean.

plus de 2 ans ago

Solved

Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

plus de 2 ans ago

Solved

Find out of matrix transpose Complex conjugate
Find out of matrix transpose Complex conjugate A=[2 3+i;1 4+i] Then answer must be [2.0000 1.0000; ...

plus de 2 ans ago

Solved

Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

plus de 2 ans ago

Solved

Gamma Function
Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

plus de 2 ans ago

Solved

MATLAB Basic: rounding II

plus de 2 ans ago

Solved

MATLAB Basic: rounding III

plus de 2 ans ago

Solved

MATLAB Basic: rounding IV

plus de 2 ans ago

Solved

Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

plus de 2 ans ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

plus de 2 ans ago

Solved

Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

plus de 2 ans ago

Solved

Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

plus de 2 ans ago

Solved

Magnitude of a vector
Given a vector x, what is its magnitude?

plus de 2 ans ago

Solved

Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

plus de 2 ans ago

Solved

Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

plus de 2 ans ago

Solved

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

plus de 2 ans ago

Solved

Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

plus de 2 ans ago

Solved

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. If you l...

plus de 2 ans ago

Solved

Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

plus de 2 ans ago

Solved

Transpose of matrix
Transpose of matrix as per test cases

plus de 2 ans ago