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?(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Formula for z into Matlab

Loading...

Similar Threads for Formula Matlab | Date |
---|---|

Is there software to simplify physics formulae? | Sep 30, 2016 |

Converting Excel formulae into Matlab code | Apr 9, 2015 |

Superscript Formula in Excel Function CONCATENATE | Mar 9, 2015 |

Excel's Power trendline formula? | Sep 28, 2014 |

Grab elements from a vector thru formula, matlab | Aug 10, 2011 |

**Physics Forums - The Fusion of Science and Community**