I wish to use a for loop i already made and replace a number with a variable defined as a range of numbers, then plot the max of another function that used the function with the new variable.(adsbygoogle = window.adsbygoogle || []).push({});

How would I do this?

example:

x = [0:.5:1]

r = 5*x

t = 3/r

new program:

x = same

n = [0:.25:.5]

r = n*x

t = 3/r

for each value of n, i want to plot the cooresponding t, and plot n vs t

**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!

# Sensitivity Plots in MATLAB

Loading...

Similar Threads for Sensitivity Plots MATLAB | Date |
---|---|

MATLAB: forces acting on an object | Apr 6, 2018 |

Plot a stereographic hypercube in a Mac's Grapher.app? | Mar 17, 2018 |

Mathematica Errors when plotting but not when evaluating | Mar 13, 2018 |

Mathematica Color Contour Plots | Mar 8, 2018 |

Mathematica Taking forever to plot | Feb 27, 2018 |

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