Community Profile # Rahul Shinde

### Tata Consultancy Services

Last seen: 11 months ago Active since 2013

#### Statistics

All
• • • • • • • • #### Content Feed

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

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

1 year 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'

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

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

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

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

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

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

1 year ago

Solved

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

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

1 year ago

Solved

Square root of number
Square root of given number.

2 years ago

Problem

Square root of number
Square root of given number.

2 years ago | 0 | 67 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...

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

2 years ago

Solved

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

2 years ago

Solved

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

3 years ago

Solved

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

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

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

3 years ago

Solved

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

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

3 years ago

Solved

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

3 years ago

Solved

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

3 years ago

Solved

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

3 years ago

Solved

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

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

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

3 years ago

Solved

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

3 years ago

Solved

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

3 years ago