Mohamed Ziaudeen
Mercedes Benz Research and Development India
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...
8년 초과 전
문제를 풀었습니다
Vector to 3-Column Matrix
Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...
대략 9년 전
문제를 풀었습니다
Concatenated roots
Which is the value of this infinte concatenated roots? <<https://s27.postimg.org/i4hkin7xf/Code_Cogs_Eqn.gif>> Note: If ...
대략 9년 전
문제를 풀었습니다
find the required sampling frequency
find the required frequency in order to sample this signal and recovered back using law pass filler : signal= 4.5*sin (2*pi*1...
대략 9년 전
문제를 풀었습니다
Find the quantization index of an analog value using a 6-bit quantizer.
Given a sinusoidal waveform x(t)=4.5*sin(2*pi*100*t) is sampled at 8000 sample per second. Assume that signal range is between -...
대략 9년 전
문제를 풀었습니다
Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...
거의 10년 전
문제를 풀었습니다
Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and retu...
거의 10년 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
거의 10년 전
문제를 풀었습니다
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
거의 10년 전
문제를 풀었습니다
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
거의 10년 전
문제를 풀었습니다
Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...
거의 10년 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
거의 10년 전
문제를 풀었습니다
Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...
거의 10년 전
문제를 풀었습니다
Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.
거의 10년 전
문제를 풀었습니다
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
거의 10년 전
문제를 풀었습니다
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
거의 10년 전
문제를 풀었습니다
Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...
거의 10년 전
문제를 풀었습니다
Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.
거의 10년 전
문제를 풀었습니다
Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...
거의 10년 전
문제를 풀었습니다
Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...
거의 10년 전
문제를 풀었습니다
Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...
거의 10년 전
문제를 풀었습니다
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
거의 10년 전
문제를 풀었습니다
Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...
거의 10년 전
문제를 풀었습니다
Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise
거의 10년 전
문제를 풀었습니다
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
거의 10년 전


