Create An Array That Contains All the Values of F(x)? Help!
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a function f(x) that equals x if x < 1 and x^2 elsewhere.
How would I go about putting all the values of f(x) into another array, named y, for example?
Respuesta aceptada
Más respuestas (2)
Ver también
Categorías
Más información sobre Multidimensional Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!