解決済み


Magnitude of a vector
Given a vector x, what is its magnitude?

8年弱 前

解決済み


How do you make seven even?
Take away the s.

8年弱 前

解決済み


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

8年弱 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

8年弱 前

解決済み


Stress-Strain Properties - 3
A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

8年弱 前

解決済み


Make visible max values
Make visible maximum values of rows input = [1 2 3 4 5; 6 9 8 2 1; 2 1 4 5 8; 1 9 7 9 2]; ...

8年弱 前

解決済み


how many of the entries are positive?
Given x= sin(linspace(0,10*pi,100)), how many of the entries are positive?

8年弱 前

解決済み


Unusual Concatenations
The sum of the squares of certain unusual integers is equal to the concatenation of their individual digits. For example: ...

8年弱 前

解決済み


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

8年弱 前

解決済み


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

8年弱 前

解決済み


The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...

8年弱 前

解決済み


Solve the following system of equations.
x - 2y + 3z = a 2x + y + z = 4 -3x + 2y - 2z = -10

8年弱 前

解決済み


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

8年弱 前

解決済み


Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - ...

8年弱 前

解決済み


How to Concatenate two strings?
How to Concatenate two strings?

8年弱 前

解決済み


Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

8年弱 前

解決済み


Adding Numbers
Add the input numbers to the original.

8年弱 前

解決済み


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

8年弱 前

解決済み


Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

8年弱 前

解決済み


Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

8年弱 前

解決済み


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

8年弱 前

解決済み


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

8年弱 前

解決済み


square root
Find square root of given number

8年弱 前

解決済み


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

8年弱 前

解決済み


Reverse digits of a number
Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

8年弱 前

解決済み


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

8年弱 前

解決済み


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

8年弱 前

解決済み


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

8年弱 前

解決済み


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)

8年弱 前

解決済み


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

8年弱 前

さらに読み込む