Community Profile

photo

André Pacheco


FEUP

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

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...

11 years 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...

11 years 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...

11 years 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...

11 years 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...

11 years 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 ...

11 years 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 ,(...

11 years 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...

11 years 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...

11 years 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...

11 years 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...

11 years 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 ...

12 years ago | 1 answer | 0

1

answer