Pregunta


How to plot a horizontal line between two arrays?
Hi all, I have the following arrays, I want to draw a horziontal line between each row. Could someone please teach me how to do...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to reduce the alpha for markers in a simple plot?
Hi all, I am having a simple plot like plot(X,Y, 'MarkerFaceColor','#0072BD') Is it possible to reduce the transparency of...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to repeat a pattern on xticks?
Hi all, I have the following for a plot. How can I make the A,B,C,D,E repeat for 100 times on the x label with the same pattter...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to set the color in a for loop for a plot within the for loop with an if statement?
Hi all, I have the following code but I don't like it. What I want is that we plot the entire t,e but set MarkerFaceColor of ea...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot a swarm chart with no specific x-values?
Hi everyone, I have a huge dataset, around 1 million values in a column. The range of these values are limited. They, for examp...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to create an interval for an if statement?
Hi all, How can I say if q equals to 5 or 10 or 15 or ..... then if q == 5:5:200 does not work.

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to substract a loop from the first 10 cell values of the loop?
Hi everyone, I have a loop which reads an excel file and calculates some stuff and read a value to cells in a row For n= 1:200...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to increase the space between the title of each graph and the graph in a tiled layout?
Hi all, How can I increase the space between the title of each graph and the graph itself in a tiled layout? StackBar = ...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to ignore part of for loops for manual runs?
Hi everyone, I have two for loops within each other. Some parts are dependant on the inner loop j. So to finish each loop of i,...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to store the data of specific loop values?
Hi, I have a loop 1:100 and I want to store the output of i = 1,6,11,.... How should I code this? Thx

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How do we store the results of a loop vertically?
Hi everyone, Is this a correct way to store the values of a loop vertically in an excel file? CompiledResults(:,i) = Output ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to write an opened file in a loop to a new file in a different folder using fwrite?
Hi everyone, I open a file in a loop using fopen. I make some modifications and then I want to write the file to a new folder b...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can you run third party applications multiple times with MATLAB for analysis?
Hi everyone, I would like to know whether I can open a third party application using MATLAB and write a code so that the third ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create an effective plot for showing ranges?
Hi everyone, which plot do you believe is the most effective plot for showing a range? for instance showing that a series fluctu...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to get the first value in a set of array that is bigger than the first few values?
Hi everyone, I have two arrays: y = [1 1 1 1 1 1.5 1.7 1.9 2 2.7] x = [25:35] How can I find the corresponding x value for t...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to sort a column of data based on another?
Hi everyone, I have two columns of data. I wan to sort column A in theascending order and I want the corresponding values in col...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


is there a way to plot change point detection on a scatter plot?
Hi, I have a scatter plot. Is there a way to show the change point for data on the scatter plot (calculating it on the scatter p...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is there a way to turn scatter plots to data?
Hello everyone, I have two variables plotted as a scatter plot. Is there a way to turn the scatter plot to a table or array as d...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to code a basic fitting quadratic in this?
Hi everyone, I am using two scatter plots. How can I code the quadratic fitting in that? I tried more than 7 ways on the inte...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to includ/plot the local maxima date on a plot?
Hi everyone, I have defined the following and it shows the date values intractively (mytime) on the plot, but I want to actually...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to merge two timetables with different data and time?
Hi everyone, I had a nice and clean time table that I had to extract some sections of it for calculations during different hours...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to separate weekends from weekdays from an Excel file in MATLAB?
Hi Everone, I have an Excel file like this: (the date is like a text file) Column 1 Column 2 ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
Why nothing is being plotted and this code is being appeared constantly? (Attempt to execute SCRIPT cla as a function:)
John D'Errico's and Stephan's answers were both correct. The cla.m was empty.

más de 3 años hace | 0

| aceptada

Pregunta


Why nothing is being plotted and this code is being appeared constantly? (Attempt to execute SCRIPT cla as a function:)
Hi everyone, So, apparently my MATLAB no longer likes to plot stuff and I do not know why. I tried some earlier suggestions s...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to change parameters in EnergyPlus using MATLAB?
Hi everyone, Is it possible to change energyplus surface parameters for 80 surfaces using MATLAB automatically (all at once r...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I change time data to 5-minutes intervals?
Hello everyone, how can I change time intervals of a binary data (0 and 1) to 5-minutes intervals? [for 5 minutes periods that i...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create daily average of different consecutive years?
Hi, I have a question. I am having a dataset made of 6 consecutive years (Hourly Data). I was able to calculate weekly/daily/an...

más de 4 años hace | 1 respuesta | 0

1

respuesta