Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 4 Jahre vor | 0

| akzeptiert

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort