
Stalin Samuel
Followers: 0 Following: 0
MBA(Financial Management) @ Annamalai University BE(Electronics & Communication Engineering) @ Anna University
Feeds
문제를 풀었습니다
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...
7년 초과 전
문제를 풀었습니다
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...
7년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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.
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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?
8년 초과 전
문제를 풀었습니다
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
8년 초과 전
문제를 풀었습니다
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
8년 초과 전
문제를 풀었습니다
Create a square matrix of zeros of even order
Create a square matrix of zeros of even order
8년 초과 전
문제를 풀었습니다
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 ...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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?_...
8년 초과 전
문제를 풀었습니다
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 ...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
8년 초과 전
문제를 풀었습니다
Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.
8년 초과 전
문제를 풀었습니다
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
8년 초과 전
문제를 풀었습니다
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 ...
8년 초과 전
문제를 풀었습니다
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 ...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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.
8년 초과 전
문제를 풀었습니다
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 ...
8년 초과 전