Matrix to column conversion
Given a matrix of any size, convert it into a column vector.
e.g A=[10 20 30;
40 50 60]
then,
B = [10;
40;
...
3 years 前
已解决
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
3 years 前
已解决
square root
Find the square root (y) of an input (x).
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
3 years 前
已解决
metre to feet converter
The idea is to make a converter, which exchange meters to feets.
We use a factor of 1m = 3.281*1f.
so 3m are equals to 9.843 m...
3 years 前
已解决
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
3 years 前
已解决
Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)