Community Profile

# Ricardo López

Last seen: meer dan een jaar ago Active since 2020

#### Content Feed

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

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

meer dan 2 jaar ago | 1 answer | 0

### 1

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

meer dan 2 jaar ago | 1 answer | 0

### 1

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

meer dan 2 jaar ago | 1 answer | 0

### 1

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

meer dan 2 jaar ago | 2 answers | 0

### 2

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

bijna 3 jaar ago | 0 answers | 0

### 0

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

bijna 3 jaar ago | 2 answers | 0