Solved


lb to kilogram
convert lb to kilogram units, easy

6 years ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

6 years ago

Solved


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

6 years ago

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

6 years ago

Solved


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

6 years ago

Solved


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

6 years ago

Solved


Find the repeating elements and repetitions of a row vector.
So let's say that x is a vector, for example, x = [4, 4, 5, 5, 5, 6, 7, 7,8, 8, 8, 8] Now we want to get the following two ve...

6 years ago

Solved


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

6 years ago

Solved


Given an input string, generate a variable name out of it
Given an input string, generate a variable name out of it in easy to read format by a programmer. If the input string contai...

6 years ago

Solved


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

6 years ago

Solved


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

6 years ago

Solved


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

6 years ago

Solved


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

6 years ago

Solved


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

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

6 years ago

Solved


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

6 years ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

6 years ago

Solved


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

6 years ago

Solved


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

6 years ago

Solved


vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

6 years ago

Solved


Square root of number
Square root of given number.

6 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

6 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

6 years ago

Solved


modulus of a number
find the modulus of a given number

6 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

6 years ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

6 years ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

6 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

6 years ago

Solved


first element of matrix
find the first elements of a column matrix

6 years ago

Solved


Create a vector of the first n odd numbers (★)
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

6 years ago

Load more