Solved


Bruh
Return 'bruh'.

2 years ago

Solved


find whether it is prime or not
For a given number find if its prime

2 years ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

2 years ago

Solved


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

2 years ago

Solved


determine amount cookies left
started with 3 cookies and you never ate any how many are left

2 years ago

Solved


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

2 years ago

Solved


Your favourite city!
Type your favourite city.

2 years ago

Solved


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

2 years ago

Solved


World Cup 2018 Prediction!
Which team will be the winner?

2 years ago

Solved


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

2 years ago

Solved


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

2 years ago

Solved


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

2 years ago

Solved


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

2 years ago

Solved


Redefine the Array if the Elements in the Array are Repeating
Check if the Array has any repeating elements, if there are repeating elements then choose "n" as a number of times you want tha...

2 years ago

Solved


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

2 years ago

Solved


select the primes of a vector
Find the prime numbers in a vector

2 years ago

Solved


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

2 years ago

Solved


ASCii Code
Using Matlab get the ASCii for '?'

2 years ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

2 years ago

Solved


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

2 years ago

Solved


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

2 years ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

2 years ago

Solved


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

2 years ago

Solved


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

2 years ago

Solved


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

2 years ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

2 years ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2 years ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...

2 years ago

Solved


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

2 years ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

2 years ago

Load more