문제를 풀었습니다


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

대략 4년 전

문제를 풀었습니다


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

대략 4년 전

문제를 풀었습니다


Union Jack Matrix
Create a matrix of odd dimensions that has ones on both diagonals and dividing the matrix into 4 quadrants, resembling a square ...

대략 4년 전

문제를 풀었습니다


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

대략 4년 전

문제를 풀었습니다


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

대략 4년 전

문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

대략 4년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

대략 4년 전

문제를 풀었습니다


Find sum of numbers on the cornice of a matrix.

대략 4년 전

문제를 풀었습니다


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

대략 4년 전

문제를 풀었습니다


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

대략 4년 전

문제를 풀었습니다


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

대략 4년 전

문제를 풀었습니다


Number Puzzle - 039

대략 4년 전

문제를 풀었습니다


Number Puzzle - 032

대략 4년 전

문제를 풀었습니다


Number Puzzle - 034

대략 4년 전

문제를 풀었습니다


Number Puzzle - 033

대략 4년 전

문제를 풀었습니다


Number Puzzle - 035

대략 4년 전

문제를 풀었습니다


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

대략 4년 전

문제를 풀었습니다


Saving MATLAB session to a file
How to save MATLAB session to a file?

대략 4년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

대략 4년 전

문제를 풀었습니다


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

대략 4년 전

문제를 풀었습니다


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

대략 4년 전

더 보기