解決済み


prime test 2
enter the only non prime,non composite number

約1年 前

解決済み


divide by 5

約1年 前

解決済み


matrix rows and columns

約1年 前

解決済み


matrix rows and columns

約1年 前

解決済み


Sort a vector

約1年 前

解決済み


Find the absolute value of of the array

約1年 前

解決済み


find location of indexes

約1年 前

解決済み


Basic Addition

約1年 前

解決済み


How many days does the cat take to climb out of the hole?
A cat accidentally falls down a hole with sloping but rough sides. It can climb out of the hole of height h metres, but for ever...

約1年 前

解決済み


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

約1年 前

解決済み


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

約1年 前

解決済み


Determine if a row vector has NaN
Determine if a row vector x has NaN

約1年 前

解決済み


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

約1年 前

解決済み


Test if a number is numeric or not
Test if a number is numeric or not

約1年 前

解決済み


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

約1年 前

解決済み


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

約1年 前

解決済み


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

約1年 前

解決済み


Simple Matrix
Make the following matrix without typing it in one by one. [1 2 3; 2 4 6; 4 8 12] x=[1 2 3].

約1年 前

解決済み


Calculate the logarithm of number
Calculate the logarithm of number x

約1年 前

解決済み


Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

約1年 前

解決済み


Square
X is a number, write a code, where Y should be the square of X.

約1年 前

解決済み


Binary Coder
Take an input number and print the binary value of this number.

約1年 前

解決済み


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

約1年 前

解決済み


Nearest
*Description* Find the value and index of the element in vector _x_ that is nearest to value _y_. _y_ should be able to be a ...

約1年 前

解決済み


Fizz Buzz
Given an array of positive, non-zero, integers, return a cell array of strings the same size as the input, where each element in...

約1年 前

解決済み


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

約1年 前

解決済み


Create an 'arrow-head" matrix
Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

約1年 前

解決済み


count to vector
Return a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v...

約1年 前

解決済み


Find best domino orientation
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...

約1年 前

もっと読み込む