A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


Find Logic 16

plus de 4 ans il y a

A résolu


Find Logic 14

plus de 4 ans il y a

A résolu


Find Logic 15

plus de 4 ans il y a

A résolu


Find Logic 13

plus de 4 ans il y a

A résolu


Find Logic 12

plus de 4 ans il y a

A résolu


Find Logic 11

plus de 4 ans il y a

A résolu


Find Logic 10

plus de 4 ans il y a

A résolu


Find Logic 17

plus de 4 ans il y a

A résolu


Find Logic 18

plus de 4 ans il y a

A résolu


Find Logic 9

plus de 4 ans il y a

A résolu


Find Logic 8

plus de 4 ans il y a

A résolu


Find Logic 7

plus de 4 ans il y a

A résolu


Find Logic 6

plus de 4 ans il y a

A résolu


Find Logic 5

plus de 4 ans il y a

A résolu


Find Logic 2

plus de 4 ans il y a

A résolu


Find Logic 1

plus de 4 ans il y a

A résolu


Find Logic 3

plus de 4 ans il y a

A résolu


Find Logic 4

plus de 4 ans il y a

A résolu


Find Logic 19

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

Charger plus