Community Profile

# Rahul Shinde

### Tata Consultancy Services

266 total contributions since 2013

View details...

Contributions in
View by

Solved

Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

alrededor de 2 meses ago

Solved

Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

alrededor de 2 meses ago

Solved

Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

alrededor de 2 meses ago

Question

Runing MATLAB on HPC and connection Status
How I can get HPC connection status whether HPC is already connected to my system using Matlab commands?I don't want to see the ...

4 meses ago | 1 answer | 0

### 1

Solved

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

5 meses ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

5 meses ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

5 meses ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

5 meses ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

5 meses ago

Solved

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

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

5 meses ago

Solved

Square root of number
Square root of given number.

alrededor de 1 año ago

Problem

Square root of number
Square root of given number.

alrededor de 1 año ago | 0 | 40 solvers

Question

How to Run Sim command for non display matlab.
I am facing following error while running Model in Non display matlab using sim() Error: Harness operations are not supported...

alrededor de 1 año ago | 0 answers | 0

### 0

Solved

Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

más de 1 año ago

Solved

Add 2 numbers e.g a=1; b=1 c=a+b;

casi 2 años ago

Solved

Determine the square root
Determine the square root of the value the user has entered, n.

alrededor de 2 años ago

Solved

Max of a Vector
Write a function to return the max of a vector

alrededor de 2 años ago

Solved

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

alrededor de 2 años ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

alrededor de 2 años ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

alrededor de 2 años ago

Solved

Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

alrededor de 2 años ago

Solved

Area of square
Find the area of a square whose diagonal length is given as x.

alrededor de 2 años ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

alrededor de 2 años ago

Solved

Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

alrededor de 2 años ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

alrededor de 2 años 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.

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

alrededor de 2 años ago

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

alrededor de 2 años ago