Risolto


Bruh
Return 'bruh'.

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


Your favourite city!
Type your favourite city.

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


ASCii Code
Using Matlab get the ASCii for '?'

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Carica altro