解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

12ヶ月 前

解決済み


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)

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


PRIME GENERATOR

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


Divide pi
Divide pi by x!

12ヶ月 前

解決済み


Multiply pi
Multiply pi with x!

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


Real

12ヶ月 前

解決済み


Matrix operation

12ヶ月 前

解決済み


Size

12ヶ月 前

解決済み


imaginary

12ヶ月 前

解決済み


NaN

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


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

12ヶ月 前

もっと読み込む