Community Profile

photo

Ricardo López


Last seen: 9 días ago
18 total contributions since 2020

Ricardo López's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


Unable to resolve the name comm.AWGNChannel
Hello all, I have recently upgraded matlab to the R2020b and for some reason it is not able to run the Gaussian noise signal c...

alrededor de 2 meses ago | 1 answer | 0

1

answer

Question


Optimization function with a summation
Good afternoon, I have the following code: C_H = [C_H1 C_H2 C_H3 C_H4 C_H5]; PV = reshape(PV_SAM,[52560,1]); j = 144; fun ...

alrededor de 2 meses ago | 1 answer | 0

1

answer

Question


Optimization objective funcion containing a sum
Good afternoon, I am writing a MATLAB code to minimize the following equation: Both C_H and PV are matrices already calcul...

alrededor de 2 meses ago | 1 answer | 0

1

answer

Question


Use same algorithm for different data
Good morning people, I have a big algorithm and I would like to use different data without having to repeat the algorithm (for...

alrededor de 2 meses ago | 1 answer | 0

1

answer

Question


Build a relay on code
Good afternoon I want to build a thermostat code in an existing building. I want to start the heater when the inside temperatur...

3 meses ago | 1 answer | 0

1

answer

Question


Delete rows from an array
Good afternoon I have a long array of numbers, CEC (52560x1) and I would like to delete the rows in the following way: r = 1:...

3 meses ago | 2 answers | 0

2

answers

Question


Adding noise to my data set
Good afternoon, I am trying to turn a 1 hour consumption signal into a 10 min consumption signal. To achive this, I am trying ...

3 meses ago | 1 answer | 0

1

answer

Question


How to plot a range with stackedplot()
Good morning, I would like to plot a range of data (19:42) on a stackedplot(), but i keep having an error. I tried to create a...

3 meses ago | 1 answer | 0

1

answer

Question


Merge data by date
Good afternoon, I have a big matrix of an hourly consumption of 5 houses for 2 years. The matrix has two columns: one with dat...

3 meses ago | 2 answers | 0

2

answers

Question


Merge different excel files into one big matrix with a loop
Good morning, I have 10 big excel files containing hourly data for 2 years and I would like to merged them all into one table ...

3 meses ago | 1 answer | 0

1

answer

Question


how do i substract the first value from the last one on an array taking out zero values?
Good morning people, How could I substract the first value minus the last one of just the non zero values of an array? H...

3 meses ago | 2 answers | 0

2

answers

Question


Optimize an if loop
Good night people, I have a question regarding the optimization of the following loop: for i=1:length(PV) if i>3 ...

4 meses ago | 2 answers | 0

2

answers

Question


Building a big matrix
Hello people, Does anyone know how to build a matrix like this one? Thank you!

5 meses ago | 1 answer | 0

1

answer

Question


The number of rows in A must be the same as the number of elements of b.
%% Discrete modelling Ae=(1-(K*ts)/Cth); Be=(ts*COP*HP)/Cth; D=ts*K/Cth; Tin=zeros(1,i); u=zeros(1,i); for j=1:i ...

5 meses ago | 1 answer | 0

1

answer

Question


LINPROG requires the following inputs to be of data type double: 'f'.
%% Discrete modelling Ae=(1-(K*ts)/Cth); B=(ts*COP*HP)/Cth; D=ts*K/Cth; u=zeros(1,i); Tin=zeros(1,i); x=zeros(3,i); cost...

5 meses ago | 1 answer | 0

1

answer

Question


How can I write summationn constraints for an optimization problem?
Good morning, I would like to optimize the following equation: min with the following contraints: x>0 Where is a kn...

5 meses ago | 2 answers | 0

2

answers

Question


How do you create a 3D plot with values that you already have?
Good afternoon, I would like to plot the data I have inside a matrix of 8760x19. Do anyone knows how to do it? Thank you in...

11 meses ago | 0 answers | 0

0

answers

Question


Simple version of creating a matrix
Hello people, I would like to know if someone has a quick way of writing this matrix using 'ones' and 'zeros': Aeq=[1,1,1,1,...

alrededor de 1 año ago | 2 answers | 0

2

answers