Community Profile

# Vinod Sudheesh

Last seen: 5 Monate vor Aktiv seit 2014

#### Statistiken

All

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Gelöst

Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

fast 9 Jahre vor

Gelöst

calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

fast 9 Jahre vor

Gelöst

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

fast 9 Jahre vor

Gelöst

Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

fast 9 Jahre vor

Gelöst

Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

fast 9 Jahre vor

Gelöst

Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

fast 9 Jahre vor

Gelöst

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

fast 9 Jahre vor

Gelöst

Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

fast 9 Jahre vor

Gelöst

Binary Coder
Take an input number and print the binary value of this number.

fast 9 Jahre vor

Gelöst

Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

fast 9 Jahre vor

Gelöst

Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

fast 9 Jahre vor

Gelöst

CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

fast 9 Jahre vor

Gelöst

peta to nano (x-ray)
for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

fast 9 Jahre vor

Gelöst

Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

fast 9 Jahre vor

Gelöst

surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

fast 9 Jahre vor

Gelöst

Construct a string from letters and counts
Given two input arrays like this: [5,3,1] ['a','b','c'] Output a string that contains each letter the specified num...

fast 9 Jahre vor

Gelöst

01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

fast 9 Jahre vor

Gelöst

Add two numbers
Add two numbers (For beginners)

fast 9 Jahre vor

Gelöst

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

fast 9 Jahre vor

Gelöst

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

fast 9 Jahre vor

Gelöst

vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

fast 9 Jahre vor

Gelöst

Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

fast 9 Jahre vor

Gelöst

Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

fast 9 Jahre vor

Gelöst

Generate a string like abbcccddddeeeee
This is the string version of Problem 1035. <http://www.mathworks.com/matlabcentral/cody/problems/1035-generate-a-vector-like-1-...

fast 9 Jahre vor

Gelöst

Generate pi using logarithm
Generate pi using logarithm

fast 9 Jahre vor

Gelöst

Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

fast 9 Jahre vor

Gelöst

MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

fast 9 Jahre vor

Gelöst

Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

fast 9 Jahre vor

Gelöst

matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

fast 9 Jahre vor

Gelöst

Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

fast 9 Jahre vor