Community Profile

sundeep cheruku


IIT Patna

21 total contributions since 2011

Contact

sundeep cheruku's Badges

Contributions in
View by

Answered
Binary addition in MATLAB
fliplr(de2bi(bi2de(fliplr([1 0 1 0]))+bi2de(fliplr([1 1 0 0])))) while using bi2de or de2bi it takes the first bit as LSB a...

3 years ago | 1

Solved


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

4 years ago

Solved


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

4 years ago

Solved


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

4 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

4 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

4 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

4 years ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

4 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

4 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

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

4 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 years ago

Question


extracting info from edit text gui
[EDIT: 20110625 - reformat - WDR] Please help me with this function [] = clear_edit_example() % Show how to clear and edit...

5 years ago | 1 Answers | 0

1

answer

Submitted


happy face
just displays a happy face

5 years ago | 1 downloads |

Thumbnail

Submitted


numberpad
shows the string of numbers

5 years ago | 1 downloads |

Thumbnail

Answered
how to execute the matlab code for eye&face detection
i want the procedure to do the face detection in matlab...someone plz help me!!!

5 years ago | 0

Submitted


spread spectrum
spread spectrum using gold code

5 years ago | 6 downloads |

Thumbnail

Submitted


bfsk modulation and demodulation
modulation and demodulation of finite no. of bits using bfsk

5 years ago | 3 downloads |

Thumbnail