Community Profile # Stalin Samuel

Last seen: 1年以上 前 2014 以来アクティブ

MBA(Financial Management) @ Annamalai University
BE(Electronics & Communication Engineering) @ Anna University

#### Statistics

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

count to vector
Return a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v...

5年弱 前

Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

5年弱 前

Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

5年弱 前

Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

5年弱 前

ascii value
let input='a' output=97

5年弱 前

Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

5年弱 前

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

5年弱 前

Generate pi using logarithm
Generate pi using logarithm

5年弱 前

Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

5年弱 前

MATLAB Basic: rounding II

5年弱 前

square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

5年弱 前

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

5年弱 前

Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

5年弱 前

Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

5年弱 前

multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

5年弱 前

Find the sum of n squares
What is the sum of the squares of the first n integers?

5年弱 前

Perl 1: push
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

5年弱 前

Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

5年弱 前

Calculate volume of box
Calculate the volume of box,hiven its sides

5年弱 前

metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

5年弱 前

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

5年弱 前

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

5年弱 前

Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

5年弱 前

Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

5年弱 前

Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

5年弱 前

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

5年弱 前

Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

5年弱 前

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

5年弱 前