Hallo,(adsbygoogle = window.adsbygoogle || []).push({});

I have matrices on my workpace and i need to take the first element from each one

and produce new vector. In other words, i have the matrices D1,D2,D3....D36 on my workspace and by using a For loop i want to generate a new vector:

d=[D1(1,1) D2(1,1)...D3(1,1)].

does anyone know how to that in For loop?

Thanks,

Omri

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

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!

# Calling matrices from workspace to For loop in MATLAB

**Physics Forums | Science Articles, Homework Help, Discussion**