Solved

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

11 mesi 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).

11 mesi ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

11 mesi ago

Solved

Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

11 mesi ago

Solved

Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

11 mesi 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

11 mesi ago

Solved

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

11 mesi ago

Solved

More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

11 mesi ago

Solved

Matrix Max Finder
Output the maximum value in a matrix

11 mesi ago

Solved

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)

11 mesi ago

Solved

Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

11 mesi ago

Solved

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

11 mesi ago

Solved

PRIME GENERATOR

11 mesi ago

Solved

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

11 mesi ago

Solved

Divide pi
Divide pi by x!

11 mesi ago

Solved

Multiply pi
Multiply pi with x!

11 mesi ago

Solved

Volume of a sphere given its surface area
You just measured its surface area, that is the input.

11 mesi ago

Solved

Real

11 mesi ago

Solved

Matrix operation

11 mesi ago

Solved

Size

11 mesi ago

Solved

imaginary

11 mesi ago

Solved

NaN

11 mesi ago

Solved

Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

11 mesi ago

Solved

Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

11 mesi ago

Solved

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

11 mesi ago

Solved

Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

11 mesi ago

Solved

Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

11 mesi ago

Solved

Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

11 mesi ago

Solved

Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...

11 mesi ago

Solved

Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

11 mesi ago