Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Solved


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

bijna 2 jaar ago

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Submitted


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

meer dan 2 jaar ago | 11 downloads |

Thumbnail