Community Profile

photo

SHIVAM SUNDRIYAL


Last seen: 10 months ago Active since 2020

Statistics

All
  • First Answer
  • Commenter
  • Promoter
  • Solver

View badges

Content Feed

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

3 years ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

3 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

3 years 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.

3 years ago

Solved


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

3 years ago

Solved


square number
Square a number

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


modulus of a number
find the modulus of a given number

3 years ago

Solved


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

3 years ago

Solved


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

3 years 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...

3 years 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 ...

3 years 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...

3 years 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

3 years 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]

3 years 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]

3 years 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

3 years ago

Solved


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

3 years 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...

3 years ago

Solved


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

3 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Load more