Community Profile

Rahul Shinde

Tata Consultancy Services

255 total contributions since 2013

View details...

Contributions in
View by

Solved

Square root of number
Square root of given number.

6 mois ago

Problem

Square root of number
Square root of given number.

6 mois ago | 0

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

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

8 mois ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an 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: ...

plus d'un an 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 ...

plus d'un an ago

Solved

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

plus d'un an 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...

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an 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.

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

plus d'un an ago

Solved

read and return the following word. 'M M A TTTTTTTTTL A BBB ' 'MM MM A A T L ...

environ 2 ans ago

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

plus de 3 ans ago

Solved

Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

plus de 3 ans ago

Solved

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

plus de 3 ans ago

Solved

Arithmetic array operations

plus de 3 ans ago

Solved

Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

plus de 3 ans ago

Solved

Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

plus de 3 ans ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ 4 ans ago

Solved

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

environ 4 ans ago

Solved

Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

environ 4 ans ago