Crea una función que permita analizar si los datos dados por el usuario ( x e y) se relacionan por medio de una función exponencial de la forma y = e^x. Para la comprobación redondea al primer decimal más cercano.
- Ejemplo
x = [1 2 3 4 5 6 7 8 9 10] y = [1 2,7 7,4 20,1 54,6 148,4 403,4 1096,6 2981 8103,1 22026,5]
Sí es una relación exponencial, por lo que la respuesta de la función creada será un 1 lógico.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1648 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
512 Solvers
-
Generate N equally spaced intervals between -L and L
943 Solvers
-
609 Solvers
-
07 - Common functions and indexing 2
421 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!