How to assign variable to matrix positions

Given matrix A , assign the second coloumn of A to a varible v.
A = [1:5; 6:10; 11:15; 16:20];
i tried using the syms command but failed
and also the value it stores for v is 118, thats whats comming if a i try to assign it

3 Comments

i am also facing the same problem
so what should i do
what is the value of V?
can you help me please
I do not understand what syms has to do with this question??
Is the idea that you are trying to create an "alias" for the second column of A, named v, such that if you were to assign to v(3) then A(3,2) would also change?

Sign in to comment.

Asked:

on 3 Jun 2020

Commented:

on 17 Aug 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!