photo

Vitaly


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


solving linear equations using matrices in MATLAB
Hi, my script creates a matrix and 2 vectors using several 'for' loops and as an example they are returned as follows: ...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Answered
How to add values to already existing ones in a matrix using for loop?
Nevermind, I solved the problem by accumulating values in KG with: KG((2*(nEN(i1))-1),(2*(nEN(i2))-1)) = KG((2*(nEN(i1))-1)...

meer dan 11 jaar ago | 0

| accepted

Question


How to add values to already existing ones in a matrix using for loop?
Hi, my function looks like this: nEN=[1 2 4 5]; KG=[]; for i1=1:4 KG((2*(nEN(i1))-1),(2*(nEN(i1))-1))=Ke((2*i1-1),...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


How to keep a matrix from rewriting every loop iteration?
Hi guys, I'm having a problem with assigning values form a matrix to another matrix using loop functions. Here is the code: ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to plot node numbers using matrix of nodes's coordinates?
Hi, my script plots a mesh grid using: gplot(adj,NC,'-o') where 'adj' is the adjacency matrix and 'NC' is the matrix...

meer dan 11 jaar ago | 3 answers | 0

3

answers

Question


How to display X-tick labels vertically using GPLOT?
Hi, here is the code I'm using: gplot(adj,NC,'-o') axis([0 W1 0 H1]) xlabel('Width') ylabel('Height') title('ME...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to fill a matrix with a range of numbers?
Hi, it might be a silly question, but I was struggling finding an answer to that for hours. The problem is I have a range of ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How can I create a matrix using nested loop functions?
Hi, I'm trying to create a matrix of X and Y coordinates of nodes which are equally separated on a plane. The function should gi...

meer dan 11 jaar ago | 1 answer | 0

1

answer