Solved

create a circulant matrix
create a circulant matrix

alrededor de 2 años ago

Solved

Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

alrededor de 2 años ago

Solved

Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

alrededor de 2 años ago

Solved

Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

alrededor de 2 años ago

Solved

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

alrededor de 2 años ago

Solved

Basics: Divide integers to get integer outputs in all cases
Divide integers a and b in such a way that output y is always an integer (in ceil manner)

alrededor de 2 años ago

Solved

Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

alrededor de 2 años 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...

alrededor de 2 años 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

alrededor de 2 años ago

Solved

Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

alrededor de 2 años ago

Solved

UICBioE240 problem 1.14
Solve 3^x = 17

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

Is this a valid Tic Tac Toe State?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

alrededor de 2 años ago

Solved

Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

alrededor de 2 años ago

Solved

Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

alrededor de 2 años ago

Solved

Conversion from hours to mili sec
Convert given input in hours to mili seconds

alrededor de 2 años ago

Solved

Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

alrededor de 2 años ago

Solved

Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

alrededor de 2 años ago

Solved

modulus of a number
find the modulus of a given number

alrededor de 2 años ago

Solved

Bruh
Return 'bruh'.

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

Given an input string with the scientific pitch notation for standard tuning ( <http://en.wikipedia.org/wiki/Guitar_tunings#Stan...

alrededor de 2 años ago

Solved

UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

alrededor de 2 años ago

Solved

Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

alrededor de 2 años ago

Solved

Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

alrededor de 2 años ago

Solved

Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

alrededor de 2 años ago

Solved

Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

alrededor de 2 años ago

Solved

UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

alrededor de 2 años ago

Solved

Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

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