解決済み


find the height

約3年 前

解決済み


Swap rows

約3年 前

解決済み


Size

約3年 前

解決済み


10% Discount

約3年 前

解決済み


Find Sum of array

約3年 前

解決済み


Dot Product

約3年 前

解決済み


Matrix operation

約3年 前

解決済み


Add 2 Vectors

約3年 前

解決済み


Find out if Quadratic Equation has real roots or not?
Input [a b c] ax^2+bx+c=0 Output [1 or 0] 1= Quadratic Equation has real roots 0= Quadratic Equation has imaginary roots

約3年 前

解決済み


Draw 'P' !!!
Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

約3年 前

解決済み


sign function

約3年 前

解決済み


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

約3年 前

解決済み


Lista Ordenada
Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false. Ordenado([1 2 3 4]) = true;

約3年 前

解決済み


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

約3年 前

解決済み


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

約3年 前

解決済み


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

約3年 前

解決済み


Create vector as shown in test cases
Create vector as shown in test cases

約3年 前

解決済み


Round to nearest integer

約3年 前

解決済み


easy problem
Find the last element of the array

約3年 前

解決済み


wipe out!
make all the elements in given x zero.

約3年 前

解決済み


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

約3年 前

解決済み


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

約3年 前

解決済み


Radians to Degrees
Convert radians to degrees.

約3年 前

解決済み


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

約3年 前

解決済み


Degrees to Radian
Convert degrees to radians

約3年 前

解決済み


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

約3年 前

解決済み


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

約3年 前

解決済み


find the 'M'
for an input x, return 1 at the location of the letter 'M'

約3年 前

さらに読み込む