Community Profile

photo

Hail


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to pull out numbers from a text file?
I have a large text file containing sentences, paragraphs, etc. I need a script that scans through the text file and create an ...

7 years ago | 0 answers | 0

0

answers

Question


specific color in contourf
I have a contourf plot. I want to designate a certain value to be a certain color. For example I want all z=0 value to be color...

9 years ago | 1 answer | 0

1

answer

Question


Importing data from text file that is seperated by text
I have this text file that is of the following nature: DATA 1 X Y 1 2 2 3 DATA 2 X Y 1 2 2 3 ...

9 years ago | 1 answer | 0

1

answer

Question


How to plot a line of a certain color?
I have 7 lines on a single plot. I dont want to use the 'y' color code. How can I make my own color? I also want this line to ha...

9 years ago | 3 answers | 1

3

answers

Question


How to add values through a for loop?
I have a for loop that creates something like this: first iteration: [1 2 3 4 5 6 7] second iteration: [2 3 4 5 6 7 8] thi...

9 years ago | 3 answers | 0

3

answers

Question


How to include more asterisks on a line in a plot
I have a plot: plot(time, y,'b-*') The line that it plots has asterisks at each of my data points. Is there a way to inc...

9 years ago | 2 answers | 0

2

answers

Question


New Script keeps opening in new window instead of a tab
So, stupid question. I accidentally did something on my script file and now when I hit new script, it opens a new script in a n...

9 years ago | 3 answers | 29

3

answers

Question


Changing bar graph bar colors
I have a bar graph that creates 4 different bars. I want the first bar to be colored black, the second blue, the third green, a...

9 years ago | 1 answer | 0

1

answer

Question


How to add matrices in a function with varying input arguments
I have a function: myfunction(varargin), where the varargin are matrices. I want this function to add all of the matrices I inp...

9 years ago | 2 answers | 0

2

answers

Question


How to take the average of each column of a matrix without including a certain number
I have a matrix that has 864 rows and 7 columns and is filled with positive numbers and zeros. I want to take the average of ea...

9 years ago | 3 answers | 0

3

answers

Question


How to have a function have any number of input arguments
I am trying to make my own function in matlab. I want to make it so it'll run with whatever amount of input arguments. So this...

9 years ago | 1 answer | 0

1

answer

Question


Placing a title for multiple plots in a for loop
I have a for loop that will generate a bunch of plots, say 50. I want to put a title on each one but I don't want to do this 50...

9 years ago | 1 answer | 0

1

answer

Question


How to fit a log plot to a set of data
I have a vector of pressure data over a certain time period and I have made a plot of the data using plot(time,pressure) F...

9 years ago | 1 answer | 0

1

answer

Question


Organizing plots in a publish html document
I have this script that will generate 21 plots. I want to publish my script into a html file. I also would like to have these ...

9 years ago | 1 answer | 0

1

answer