Test of Quiz
Answer the questions and write in vector. Only one answer is correct.
The founder of fuzzy logic is
1a) D. Golberg
1b)...
2 days 前
已解决
Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo?
Un número primo es cualquier número que solamente se puede dividir por 1 y ...
Prime number removal
remove all prime numbers from the input
e.g.
input =
1 2 3 4 5 6 7 8 9 10 11 12 ...
2 days 前
已解决
Sum of first n positive integers
Given n, find the sum of first n positive integers
Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55
2 days 前
已解决
imaginary results
Return the value of the imaginary number i to the power of input argument n.
2 days 前
已解决
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by:
<<https://i.imgur.com/Wg95KBE.gif>>
...
Find difference of two set as per example
Find difference of two set as per example
Say x=[1:5] and y=[2:6]
then, set_diff(x,y) should give output[1] and set_diff(y...
Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).
2 days 前
已解决
Find index of a string in a cell array
Write a function that finds the index at which the cell array of strings C contains the exact string S.
So if
C = {'twe...