Community Profile

photo

Javid Moraveji


Last seen: 1년 초과 전 2021년부터 활동

Followers: 0   Following: 0

통계

All
  • Leader
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

1년 초과 전

문제를 풀었습니다


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

1년 초과 전

문제를 풀었습니다


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

1년 초과 전

문제를 풀었습니다


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

1년 초과 전

문제를 풀었습니다


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

거의 2년 전

문제를 풀었습니다


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

거의 2년 전

문제를 풀었습니다


Make a Plot with Functions
Make a plot and test

거의 2년 전

문제를 풀었습니다


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

거의 2년 전

문제를 풀었습니다


Draw a '0' in a one matrix!

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 2년 전

문제를 풀었습니다


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

거의 2년 전

문제를 풀었습니다


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

거의 2년 전

문제를 풀었습니다


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

거의 2년 전

문제를 풀었습니다


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

거의 2년 전

문제를 풀었습니다


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

더 보기