Community Profile

# SHIVAM SUNDRIYAL

##### Last seen: 18 giorni ago
268 total contributions since 2020

View details...

Contributions in
View by

Solved

Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

4 mesi ago

Solved

Take two incoming vectors and output the sum of the two vectors

4 mesi ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

4 mesi ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

4 mesi ago

Solved

Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

4 mesi ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

4 mesi ago

Solved

square number
Square a number

4 mesi ago

Solved

first element of matrix
find the first elements of a column matrix

4 mesi ago

Solved

length of a vector
Find twice the length of a given vector.

4 mesi ago

Solved

Find remainder when x is divided by 3
Find remainder when x is divided by 3

4 mesi ago

Solved

modulus of a number
find the modulus of a given number

4 mesi ago

Solved

Calculating selling price
Cost of a Product is \$x What should be the selling price if you want to gain 10%?

4 mesi ago

Solved

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

4 mesi ago

Solved

Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

4 mesi ago

Solved

Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

4 mesi ago

Solved

Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

4 mesi ago

Solved

Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

4 mesi ago

Solved

Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

4 mesi ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

4 mesi ago

Solved

CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

4 mesi ago

Solved

Calculate volume of box
Calculate the volume of box,hiven its sides

4 mesi ago

Solved

Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets \$x per hour and a yearly bonus of \$2000? (Let, 50 wee...

4 mesi ago

Solved

Find the y=(1:x)
Look at the question

4 mesi ago

Solved

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4 mesi ago

Solved

Square root of a number
Write a code that will output the square root of x.

4 mesi ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

4 mesi ago

Solved

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

4 mesi ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

4 mesi ago

Solved

square root
Find the square root (y) of an input (x).

4 mesi ago

Solved

y equals x divided by 2
function y = x/2

4 mesi ago