解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

質問


How to define the spacing between rows in a matrix?
Im coding an algorithm to convert images into a textfile where each pixel corresponds to an ascii character. It works all fine ...

約2年 前 | 1 件の回答 | 0

1

回答

送信済み


Realtime particle simulation
This program simulates elastic collisions between particles of the same mass. Can be used for diffusion examinations or just for...

2年以上 前 | ダウンロード 11 件 |

Thumbnail