Community Profile

photo

André Pacheco


FEUP

Active since 2012

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


run a script inside another script
Hello, I have made a script called "EPSO" that do a lot of calculations and in the end it gives the global_best_solution. I...

más de 8 años ago | 1 answer | 0

1

answer

Question


Multiple functions using indexation numbers
Hello, I've got a problem where i have multiple matrix that have similar names but just changes the number of it. p.e. A...

más de 8 años ago | 2 answers | 0

2

answers

Question


Error when manipulating values on a matrix
Hello there, I've got a few problems with my code. I'm going to explain: I have a matrix that is randomly generated: Popu...

más de 8 años ago | 1 answer | 0

1

answer

Question


Possibility to know the index of the max() value
Hello there, I have a problem where I need to keep the maximum value and its position. In a while cycle I have one matrix th...

más de 8 años ago | 2 answers | 0

2

answers

Question


Put a matrix back to zeros (looking for an elegant solution)
Hello, I have one matrix that is generated withe zeros: A=zeros(5,4); And, during the cycle matrix A get different valu...

más de 8 años ago | 2 answers | 0

2

answers

Question


Simple rounding numbers in a matrix
Hello, I have a matrix that consist in a bunch of numbers. Por exemple matrix(a)= 1.46101448605678 0.124416958027372 ...

casi 9 años ago | 4 answers | 0

4

answers

Question


Create a matrix with Special properties
Hello, I want to generate a matrix that looks like this V0=10 a=5 matrix=[V0 ,random_number_between_-100_140, a ,(...

casi 9 años ago | 1 answer | 0

1

answer

Question


Create a matrix whereas values can be -180 0 or 200
Hello Is like the title says: i would be able to create a certain matrix 1:24 where i can only have -180, 0 or 200 sort rando...

casi 9 años ago | 2 answers | 0

2

answers

Question


How to make a matrix only with 2 types of numbers randomly
Hello, It may sound a silly question but i cannot think in the desired solution. I need to make a matriz 1:24 only with valu...

casi 9 años ago | 2 answers | 0

2

answers

Question


Access to a file when running the program
Hello, i have to files .m in the same folder. One is used to run the main program and the other is used just to put the infor...

casi 9 años ago | 2 answers | 0

2

answers

Question


Count time while a program is running
Hello, i would like to know if there is any function that counts the time that a program spends while he is running. I'm doing...

casi 9 años ago | 1 answer | 0

1

answer

Question


Help Sorting columns
Hello there, I'm having a few troubles in my matlab program. the problem his: Having a matrix like this: [2 2 0 4; 5 4 2 ...

más de 9 años ago | 1 answer | 0

1

answer