I have created a program in MatLab doing LU factorization and need to implement a routine, so that MatLab automatically runs the program on all of my matrices.(adsbygoogle = window.adsbygoogle || []).push({});

I have 6 matrices A1, A2, A3, A4, A5 and A6. But for the time being I can only run the program for one matrix, write the result down and then change the input matrix.

Is there a smart way of making a loop so that MatLab automatically changes the input matrix?

The notation A(i) does not work, since it refers to the elements in the matrix.

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

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

# Help! naming matrices in matlab

Loading...

Similar Threads - Help naming matrices | Date |
---|---|

Matlab MATLab: Not enough inputs for nlinfit | Nov 16, 2017 |

Matlab Help needed to fix a matlab code | Nov 8, 2017 |

LaTeX Help with page dimensions in latex | Nov 2, 2017 |

Matlab Octave integral computation help | Apr 20, 2017 |

Variable name matlab help | Oct 2, 2009 |

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