Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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.

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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

4 years ago | 2 answers | 0

2

answers

Question


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

4 years ago | 2 answers | 0

2

answers

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 0 answers | 0

0

answers

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0

| accepted

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer