
Ashan Peiris
University of Moratuwa
2014년부터 활동
Followers: 0 Following: 0
Electronics and Telecommunication Engineering student at University of Moratuwa.
Professional Interests: Image Processing, signal processing, digital system design
Feeds
문제를 풀었습니다
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
거의 10년 전
문제를 풀었습니다
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
거의 10년 전
문제를 풀었습니다
Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?
대략 10년 전
문제를 풀었습니다
Sum all integers from 1 to 5^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=6
대략 10년 전
문제를 풀었습니다
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
10년 초과 전
문제를 풀었습니다
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
10년 초과 전
문제를 풀었습니다
Complex number
For complex number c=a+bi, write code that will add a and b together.
10년 초과 전
문제를 풀었습니다
Angle of triangle
For three unknown points a b c, given three sides ab bc ca, find three angles abc bca cab in radians. Your function should b...
10년 초과 전
문제를 풀었습니다
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' ...
10년 초과 전
문제를 풀었습니다
Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...
10년 초과 전
문제를 풀었습니다
Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...
10년 초과 전
문제를 풀었습니다
Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?
10년 초과 전
문제를 풀었습니다
Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variabl...
10년 초과 전
문제를 풀었습니다
Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0
10년 초과 전
문제를 풀었습니다
Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2
10년 초과 전
문제를 풀었습니다
Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...
10년 초과 전
문제를 풀었습니다
matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)
10년 초과 전