Community Profile # Rahul Shinde

### Tata Consultancy Services

Last seen: 5 maanden ago Active since 2013

#### Statistics

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

View by

Solved

Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

6 maanden ago

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

bijna 2 jaar 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...

bijna 2 jaar 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'

bijna 2 jaar 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 ...

bijna 2 jaar 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 ...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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.

ongeveer 2 jaar ago

Solved

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

ongeveer 2 jaar 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 ...

ongeveer 2 jaar ago

Solved

Square root of number
Square root of given number.

meer dan 2 jaar ago

Problem

Square root of number
Square root of given number.

meer dan 2 jaar ago | 0 | 77 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...

bijna 3 jaar 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.

bijna 3 jaar ago

Solved

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

meer dan 3 jaar ago

Solved

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

bijna 4 jaar ago

Solved

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

bijna 4 jaar 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: ...

bijna 4 jaar 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 ...

bijna 4 jaar ago

Solved

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

bijna 4 jaar 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...

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago

Solved

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

bijna 4 jaar 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.

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago