解決済み


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

2年弱 前

解決済み


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

2年弱 前

解決済み


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

2年弱 前

解決済み


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

2年弱 前

解決済み


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

2年弱 前

解決済み


Approximate functions 1 (★★★)
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

2年弱 前

解決済み


Swap the first and last columns (★★)
(copy of Prob 19) Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becom...

2年弱 前

解決済み


Generate n equally spaced "intervals" between -x and x (★)
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

2年弱 前

解決済み


Create a vector of n alternating ones and zeros (★★)
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

2年弱 前

解決済み


Factorial

2年弱 前

解決済み


Matrix operation

2年弱 前

解決済み


PIN code

2年弱 前

解決済み


Remnant

2年弱 前

解決済み


Sort accordingly

2年弱 前

解決済み


Test

2年弱 前

解決済み


step function

2年弱 前

解決済み


NaN

2年弱 前

解決済み


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

2年弱 前

解決済み


speed limit alert

2年弱 前

解決済み


PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all ...

2年弱 前

解決済み


Swap

2年弱 前

解決済み


Set zero

2年弱 前

解決済み


Sudoku

2年弱 前

解決済み


Insert zeros II

2年弱 前

解決済み


Insert zeros

2年弱 前

解決済み


Card games

2年弱 前

解決済み


find the value

2年弱 前

解決済み


Surface area of a cone

2年弱 前

解決済み


PIN code III

2年弱 前

解決済み


Row sum

2年弱 前

さらに読み込む