# Stalin Samuel

Last seen: oltre un anno fa Attivo dal 2014

Followers: 0   Following: 0

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

All

#### Feeds

Visto da

Risolto

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

quasi 7 anni fa

Risolto

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

circa 7 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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.

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

ascii value
let input='a' output=97

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

Generate pi using logarithm
Generate pi using logarithm

quasi 8 anni fa

Risolto

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?

quasi 8 anni fa

Risolto

MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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

quasi 8 anni fa

Risolto

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.

quasi 8 anni fa

Risolto

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

quasi 8 anni fa