A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


Matrix Max Finder
Output the maximum value in a matrix

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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.

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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.

plus de 7 ans il y a

A résolu


Adding Numbers
Add the input numbers to the original.

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


square root
Find square root of given number

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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.

plus de 7 ans il y a

A résolu


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)

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

Charger plus