Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

4 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

4 years ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

4 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

4 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

4 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Solved


Find Logic 16

4 years ago

Solved


Find Logic 14

4 years ago

Solved


Find Logic 15

4 years ago

Solved


Find Logic 13

4 years ago

Solved


Find Logic 12

4 years ago

Solved


Find Logic 11

4 years ago

Solved


Find Logic 10

4 years ago

Solved


Find Logic 17

4 years ago

Solved


Find Logic 18

4 years ago

Solved


Find Logic 9

4 years ago

Solved


Find Logic 8

4 years ago

Solved


Find Logic 7

4 years ago

Solved


Find Logic 6

4 years ago

Solved


Find Logic 5

4 years ago

Solved


Find Logic 2

4 years ago

Solved


Find Logic 1

4 years ago

Solved


Find Logic 3

4 years ago

Solved


Find Logic 4

4 years ago

Solved


Find Logic 19

4 years ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

4 years ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

4 years ago

Solved


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

4 years ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

4 years ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

4 years ago

Load more