Community Profile

photo

Ahmed El Amraoui


Last seen: 3일 전 2022년부터 활동

Followers: 0   Following: 0

Moin ich hasse Zebras

Spoken Languages:
English

통계

  • MATLAB Central Treasure Hunt Finisher
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

1년 초과 전

문제를 풀었습니다


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

1년 초과 전

문제를 풀었습니다


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

1년 초과 전

문제를 풀었습니다


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

1년 초과 전

문제를 풀었습니다


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

1년 초과 전

문제를 풀었습니다


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

1년 초과 전

문제를 풀었습니다


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

1년 초과 전

문제를 풀었습니다


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

1년 초과 전

문제를 풀었습니다


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

1년 초과 전

문제를 풀었습니다


Magic Matrix
We are all familiar with the concept of magic matrix. In a magic matrix, the summation of all rows, columns and both diagonals...

1년 초과 전

문제를 풀었습니다


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

1년 초과 전

문제를 풀었습니다


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

1년 초과 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

1년 초과 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

1년 초과 전

문제를 풀었습니다


how tall are you?
you can find the length wit this code.

1년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

1년 초과 전

문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

1년 초과 전

문제를 풀었습니다


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. For example, for n=5: HilbertMatrix = [1.0000 0.5000 0.333...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

1년 초과 전

문제를 풀었습니다


Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...

1년 초과 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

1년 초과 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

1년 초과 전

더 보기