Community Profile

# Vasant Raj

25 total contributions since 2018

View details...

Contributions in
View by

Solved

Find out Harmonic mean.
Find out Harmonic mean.

plus d'un an ago

Solved

Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

plus d'un an ago

Solved

Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2] ...

plus d'un an ago

Solved

calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

plus d'un an ago

Solved

Find out output of following expression
Find out output of following expression Q=2log10 x+cos π+√(5yz)+|x^2-y^2 |

plus d'un an 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 d'un an ago

Solved

Find difference of two set as per example
Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

plus d'un an ago

Solved

Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

plus d'un an ago

Solved

Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

plus d'un an ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

plus d'un an ago

Solved

Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

plus d'un an 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 d'un an ago

Solved

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

plus d'un an ago

Solved

Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

plus d'un an ago

Solved

Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

MATLAB Basic: rounding II

plus d'un an ago

Solved

MATLAB Basic: rounding III

plus d'un an ago

Solved

MATLAB Basic: rounding IV

plus d'un an ago

Solved

Transpose of matrix
Transpose of matrix as per test cases

plus d'un an ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

plus d'un an ago

Solved

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

plus d'un an ago