Community Profile

photo

giorgos kazas


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How can I get the elements from a matrix and use them as the coordinates in another matrix
I have a matrix W=[1 3 4 1 1 2 3 1 ...

4 years ago | 1 answer | 0

1

answer

Question


How can I create a matrix with the results of a disp function?
J = [0 3 4;3 0 8;4 8 0]; for i =1:numel(J) [i,j] = ind2sub(size(J),find(triu(J==i))); disp([i j]) end I have the ab...

4 years ago | 0 answers | 0

0

answers

Answered
How to find the position of the elements of a matrix?
Thank you to everyone for the input. I have also another question. Do you know how can I get the results from "disp([i j])" i...

4 years ago | 0

Question


How to find the position of the elements of a matrix?
I have a 3x3 matrix: J=[0 3 4;3 0 8;4 8 0] and I want to know in which position the elements exist. For example that 8 exists ...

4 years ago | 2 answers | 0

2

answers