Is there a quick way to define a vector with 100 elements going between two different values?(adsbygoogle = window.adsbygoogle || []).push({});

I know of just using division and using that as a step size, but it would be nice if there was something quicker.

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

# MATLAB: 100 element vector between A and B

Loading...

Similar Threads - MATLAB element vector | Date |
---|---|

Python How can I run Python by getting values from Matlab | Mar 7, 2018 |

What is each step of this Matlab program doing? | Feb 21, 2018 |

C/++/# Help with MATLAB code? | Feb 9, 2018 |

Numerical Integration with variable limits MATLAB | Jan 15, 2018 |

Reading matrix elements from a file in Fortran77 | Sep 18, 2017 |

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