解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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)

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Find Logic 26

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Sort in descending order.

3年以上 前

解決済み


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

3年以上 前

解決済み


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]

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Summation of integers

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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.

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

さらに読み込む