Community Profile

# sreedevi

2014 以来アクティブ

Student, Researcher in Image Processing

All

バッジを表示

#### Content Feed

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

Given a and b, return the sum a+b in c.

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

Rainbow matrix
Create a "rainbow matrix" as described in the following examples Input = 3 Output = [ 1 2 3 2 3 2 ...

8年弱 前

Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...

8年弱 前 | 2 | 67 個のソルバー

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

8年弱 前

reverse string
input='rama' output='amar'

8年弱 前

ascii value
let input='a' output=97

8年弱 前

Alternately upper-lower case
Alternately upper-lower case Let s='achyuta' output='AcHyUtA'

8年弱 前

most frequent character
Obtain most frequent character Let s='balaram'; output='a';

8年弱 前

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

8年弱 前

Reverse Calculator
Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

8年弱 前