Community Profile

photo

Vianney Francois


Last seen: 4달 전 2022년부터 활동

Statistics

  • Commenter
  • Community Group Solver
  • Introduction to MATLAB Master
  • Leader
  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

4달 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5달 전

문제를 풀었습니다


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5달 전

문제를 풀었습니다


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

5달 전

문제를 풀었습니다


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 ...

5달 전

문제를 풀었습니다


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 ...

5달 전

문제를 풀었습니다


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

5달 전

문제를 풀었습니다


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

5달 전

문제를 풀었습니다


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

5달 전

문제를 풀었습니다


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

5달 전

문제를 풀었습니다


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

5달 전

문제를 풀었습니다


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

5달 전

문제를 풀었습니다


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

5달 전

문제를 풀었습니다


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

5달 전

문제를 풀었습니다


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

5달 전

문제를 풀었습니다


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

5달 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

5달 전

문제를 풀었습니다


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

5달 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

5달 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

5달 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

5달 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

5달 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

5달 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

5달 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

5달 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

5달 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

5달 전

문제를 풀었습니다


Draw a '0' in a one matrix!

5달 전

문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

5달 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

5달 전

더 보기