Community Profile

# Laza Álmos

Last seen: alrededor de 2 años ago Active since 2020

All

#### Content Feed

View by

Solved

UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

alrededor de 2 años ago

Solved

UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

alrededor de 2 años ago

Solved

UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

alrededor de 2 años ago

Solved

UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

alrededor de 2 años ago

Solved

UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

alrededor de 2 años ago

Solved

Move if I am Optimus Prime
If the number is a prime, roll out!

alrededor de 2 años ago

Solved

Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

alrededor de 2 años ago

Solved

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

alrededor de 2 años ago

Solved

Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

alrededor de 2 años ago

Solved

Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

alrededor de 2 años ago

Solved

first element of matrix
find the first elements of a column matrix

alrededor de 2 años ago

Solved

find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

alrededor de 2 años ago

Solved

Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

alrededor de 2 años ago

Solved

Input & Output "Smart One"
If i give my secret function a x value as input the result will be y value as output. Examples: input: x=6 ----->>> output: ...

alrededor de 2 años ago

Solved

Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

alrededor de 2 años ago

Solved

Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

alrededor de 2 años ago

Solved

Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

alrededor de 2 años ago

Solved

Matrix Max Finder
Output the maximum value in a matrix

alrededor de 2 años ago

Solved

Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

alrededor de 2 años ago

Solved

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

alrededor de 2 años ago

Solved

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

alrededor de 2 años ago

Solved

Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

alrededor de 2 años ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

alrededor de 2 años ago

Solved

Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets \$x per hour and a yearly bonus of \$2000? (Let, 50 wee...

alrededor de 2 años ago

Solved

If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

alrededor de 2 años ago

Solved

Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

alrededor de 2 años ago

Solved