Community Profile

# Pruthvi teja

200 total contributions since 2014

#### Pruthvi teja's Badges

View details...

Contributions in
View by

Solved

Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

meer dan 4 jaar ago

Solved

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

meer dan 4 jaar 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]

bijna 6 jaar ago

Solved

Declaring a character
* Assign middleInitial with the character T.

bijna 6 jaar ago

Solved

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

bijna 6 jaar ago

Solved

Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

bijna 6 jaar ago

Solved

Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

bijna 6 jaar ago

Solved

Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

bijna 6 jaar ago

Solved

Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

bijna 6 jaar ago

Solved

Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

bijna 6 jaar ago

Solved

Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

bijna 6 jaar ago

Solved

Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

bijna 6 jaar ago

Solved

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

bijna 6 jaar ago

Solved

Remove the Zero
Given an array n, remove all zeros

bijna 6 jaar ago

Solved

Variable Assignment
Complete the ? part by assigning myExamScore with 100.

bijna 6 jaar ago

Solved

Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

bijna 6 jaar ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

bijna 6 jaar ago

Solved

Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

bijna 6 jaar ago

Solved

Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

bijna 6 jaar ago

Solved

Decoding : Find the value
'u' in the function below is of type char or string and 'v' is of type int or double. function y = your_fcn_name( u, v) ...

bijna 6 jaar ago

Solved

Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

bijna 6 jaar ago

Solved

Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

bijna 6 jaar ago

Solved

Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

bijna 6 jaar ago

Solved

Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

bijna 6 jaar ago

Solved

Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

bijna 6 jaar ago

Solved

Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

bijna 6 jaar 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,...

bijna 6 jaar ago

Solved

Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

bijna 6 jaar ago

Solved

Possible Outcomes of American Roulette
The payout for American roulette can be calculated by: payout = (38/n)-1 where n is the number of squares the bet covers. ...

bijna 6 jaar ago

Solved

Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

bijna 6 jaar ago