Solved


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

1 year ago

Solved


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

1 year ago

Solved


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

1 year ago

Solved


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

1 year ago

Solved


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

1 year ago

Solved


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

1 year ago

Solved


Volume of a Simplex
Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

1 year ago

Solved


Find Logic 26

1 year ago

Solved


Vector to 3-Column Matrix
Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...

1 year ago

Solved


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

1 year ago

Solved


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

1 year ago

Solved


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

1 year ago

Solved


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

1 year ago

Solved


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

1 year ago

Solved


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

1 year ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

1 year ago

Solved


Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

1 year ago

Solved


Sort in descending order.

1 year ago

Solved


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

1 year ago

Solved


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

1 year ago

Solved


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

1 year ago

Solved


Can the given sides form a triangle?
Can the three given sides form a triangle?

1 year ago

Solved


Summation of integers

1 year ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

1 year ago

Solved


Create a code for XNOR
Given two inputs, output XNOR of those two

1 year ago

Solved


Create tangent function out of sin and cos
Please don't use tan(x) directly

1 year ago

Solved


Create sine function out of cosine
Please don't use sin(x) directly

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

1 year ago

Solved


Find out of matrix transpose Complex conjugate
Find out of matrix transpose Complex conjugate A=[2 3+i;1 4+i] Then answer must be [2.0000 1.0000; ...

1 year ago

Solved


Interior angles
Find the sum of interior angles for polygon of x sides.

1 year ago

Load more