解決済み


Find Logic 24

約4年 前

解決済み


Find Logic 8

約4年 前

解決済み


Find Sum of array

約4年 前

解決済み


Find Logic 29

約4年 前

解決済み


Find square of given number
Find Square of any number

約4年 前

解決済み


Find Logic 23

約4年 前

解決済み


Find Logic 18

約4年 前

解決済み


Find Logic 12

約4年 前

解決済み


Find Logic 11

約4年 前

解決済み


Find Logic 27

約4年 前

解決済み


Find Logic 30

約4年 前

解決済み


Find Logic 10

約4年 前

解決済み


Find Logic 13

約4年 前

解決済み


Find Logic 6

約4年 前

解決済み


Area Conversion 1

約4年 前

解決済み


Find the number of primes leq than input
Given an integer n, determine the number of primes less than or equal to n.

約4年 前

解決済み


Find the number of zeros in a matrix
Find the number of zeros in a matrix

約4年 前

解決済み


Extract the main diagonal of a matrix
Extract the main diagonal of a matrix and return as an array. For example, the main diagonal of the following matrix would be: ...

約4年 前

解決済み


Self-Description
This is a simplified version of the <http://xkcd.com/688/ *xkcd comic* by the same name>. Simply return the angle (in degrees...

約4年 前

解決済み


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

約4年 前

解決済み


leap year
find the number of leap years within the given time interval

約4年 前

解決済み


07 - Common functions and indexing 2
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Calculate eMean as the mean across the rows of _eMat_. The an...

約4年 前

解決済み


Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

約4年 前

解決済み


Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

約4年 前

解決済み


Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

約4年 前

解決済み


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

約4年 前

解決済み


Can the given sides form a triangle?
Can the three given sides form a triangle?

約4年 前

解決済み


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

約4年 前

解決済み


Box!
Given a box, find the volume of the cube. With each side = a.

約4年 前

解決済み


05 - Vector Equations 1
Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....

約4年 前

さらに読み込む