hi all..(adsbygoogle = window.adsbygoogle || []).push({});

I have a 2x2 matrix and an array , for example:

a=linspace(0,12) %this is my frequency range.

B=[2*a 3*a-1

a./2 a]

this one does not results a 2x2 matrix, that I need it to have ...B2xB1xB

how could i get a 2x2 matrix? should i use a loop instead of an array?

tnx alot.

Elham

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

# Matlab: how to use an array in a matrix

Loading...

Similar Threads - Matlab array matrix | Date |
---|---|

Matlab Append new columns into Excel | Jun 20, 2016 |

Matlab Replace NaN with next element in Multidimensional Array | Apr 6, 2016 |

MatLab: array of numbers unequal distribution | Apr 1, 2015 |

Structure Arrays (matlab) | Jul 30, 2014 |

Matlab : Function handle givin array to cell array of function handles | Mar 5, 2014 |

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