- #1
Benny
- 584
- 0
If I have some data for example (x_1,y_2) = (1,1), (x_2,y_2) = (2,2) and (x_3,y_3) = (3,3) [they aren't coordinates, it's just a convenient way to show the information] and I want to evaluate the values of z (z_1, z_2 and z_3) where for example z = x^2 + y^6, can I enter the formula for z into Matlab to do this for me?
For just 3 bits of data I can do it by hand but if I have 15+ then it gets tiresome so I'd like to know if I can use Matlab to apply a formula to data (like the example above) to get out the required values. Any help would be good, thanks.
For just 3 bits of data I can do it by hand but if I have 15+ then it gets tiresome so I'd like to know if I can use Matlab to apply a formula to data (like the example above) to get out the required values. Any help would be good, thanks.