Community Profile

photo

Yannis Ben Ouaghrem


MathWorks

18 2019 이후 총 참여 횟수

Yannis Ben Ouaghrem's 배지

  • Community Group Solver
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

6달 전

해결됨


ASCII Birthday Cake
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

6달 전

해결됨


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

6달 전

해결됨


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

6달 전

해결됨


Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

6달 전

해결됨


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6달 전

해결됨


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6달 전

해결됨


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6달 전

해결됨


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

6달 전

해결됨


Inner product of two vectors
Find the inner product of two vectors.

6달 전

해결됨


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

6달 전

해결됨


Find max
Find the maximum value of a given vector or matrix.

6달 전

해결됨


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

6달 전

해결됨


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

6달 전

해결됨


Create a vector
Create a vector from 0 to n by intervals of 2.

6달 전

해결됨


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

6달 전

해결됨


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6달 전

해결됨


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

6달 전