Solved


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

mer än 6 år ago

Solved


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

mer än 6 år ago

Solved


Temperature question
get the temperature...in celcius

mer än 6 år ago

Solved


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

mer än 6 år ago

Solved


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

mer än 6 år ago

Solved


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

mer än 6 år ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

mer än 6 år ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

mer än 6 år ago

Solved


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

mer än 6 år ago

Solved


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

mer än 6 år ago

Solved


NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...

mer än 6 år ago

Solved


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

mer än 6 år ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

mer än 6 år ago

Solved


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

mer än 6 år ago

Solved


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

mer än 6 år ago

Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

mer än 6 år ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

mer än 6 år ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

mer än 6 år ago

Solved


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

mer än 6 år ago

Solved


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

mer än 6 år ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

mer än 6 år ago

Solved


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

mer än 6 år ago

Solved


Problem 44444 !!! free beer everyone
just say hallelujah to resolve this problem

mer än 6 år ago

Problem


Problem 44444 !!! free beer everyone
just say hallelujah to resolve this problem

mer än 6 år ago | 3 | 99 solvers

Problem


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

mer än 6 år ago | 1 | 44 solvers

Solved


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

mer än 6 år ago

Solved


Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand.

mer än 6 år ago

Problem


Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand.

mer än 6 år ago | 1 | 25 solvers

Solved


Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

mer än 6 år ago

Solved


Matrix game: Winner takes all
Given a matrix A, return a new matrix of the same size in which the biggest element of each column in A takes 1, and 0 for all t...

mer än 6 år ago

Load more