Community Profile

photo

Ahsanul Islam


Last seen: 약 1달 전 2020 이후 활성

Statistics

  • Leader
  • CUP Challenge Master
  • Project Euler I
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

배지보기

Content Feed

보기 기준

해결됨


Draw a '4' in a zero matrix!

2달 전

해결됨


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

5달 전

해결됨


Make a Plot with Functions
Make a plot and test

6달 전

해결됨


Largest Prime Number
Given a matrix X, find the largest prime number in X.

6달 전

해결됨


DC chopper
Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then...

6달 전

해결됨


surface of a spherical planet
you just discovered its circumference, that is the input.

12달 전

해결됨


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

12달 전

해결됨


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

약 1년 전

해결됨


Find Logic 1

약 1년 전

해결됨


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

약 1년 전

해결됨


Remove the Zero
Given an array n, remove all zeros

약 1년 전

해결됨


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

약 1년 전

해결됨


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

약 1년 전

해결됨


select the primes of a vector
Find the prime numbers in a vector

약 1년 전

해결됨


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

약 1년 전

해결됨


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

약 1년 전

해결됨


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

약 1년 전

해결됨


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

약 1년 전

해결됨


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

약 1년 전

해결됨


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

약 1년 전

해결됨


Kinetic energy calculation

약 1년 전

해결됨


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

약 1년 전

해결됨


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

약 1년 전

해결됨


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

약 1년 전

해결됨


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

약 1년 전

해결됨


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

약 1년 전

해결됨


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

약 1년 전

해결됨


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

약 1년 전

해결됨


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

약 1년 전

더로드