Resuelto


Bruh
Return 'bruh'.

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Your favourite city!
Type your favourite city.

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Cargar más