Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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.

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

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

quasi 4 anni fa | 0

| accettato

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta