Community Profile

photo

AelinAG


4 total contributions since 2018

Contributions in
View by

Question


How to avoid 'Index in position 1 is invalid.'
If I ask matlab to give me for example A(i - 1, j - 1) and A(i, j + 1) if matrix A and indices i, j are given, and one of them d...

12 Monate ago | 1 answer | 0

1

answer

Question


Finding neighbours in a matrix
Hi, If I have an m x n matrix, how can I print a list of all the possible neighbours(horizontally, vertically and diagonally)...

12 Monate ago | 3 answers | 0

3

answers

Question


How do I find the biggest difference in an array?
If I have an array, and I have to find the biggest difference, but the smallest element HAS to be before the biggest element, wh...

12 Monate ago | 4 answers | 0

4

answers

Question


Why does Matlab give me the entire string instead of just one element?
Hi, I'm trying to extract a value of a string, but if I type string(1) Matlab gives me the entire string.. How should I solve th...

12 Monate ago | 3 answers | 0

3

answers