Gelöst


Bruh
Return 'bruh'.

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Your favourite city!
Type your favourite city.

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


ASCii Code
Using Matlab get the ASCii for '?'

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Mehr laden