Community Profile

photo

Benjamin Cowen


Last seen: plus de 3 ans il y a Actif depuis 2013

Followers: 0   Following: 0

Contact

Statistiques

  • First Review
  • First Answer
  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Finding the ratio of numbers in an array
I access my array as: data{1, i}(:,2) So it is in the second column of data{1,i} I have data in columns 3 and 4 already. I wo...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Year conversion on figure wrong
If I read in a date, say 7/15/2017, but I read it in as 42931.00, when in MATLAB when I do this: datetick('x', 'yyyy'); I...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


scatter with z dimension color express dates just in months
I have this code: figure() pointsize = 30; scatter(x,y, pointsize, date,'filled'); set(gca,'yscale','log') xlabel('x'); ...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


Extrapolating from linear fit
I have a code, and it works, except is there a way to extend the linear fits past the data they are fitted to? Currently, it plo...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


MATLAB load 2nd column of all files into matrix
I have a folder with a lot of files of the form: defects_*.txt Assuming the path to the directory containing these files is C...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Load in multiple MATLAB files and extract 51st row
Why does my code below not work? I want to read in all the files of a certain type which works. But I want to create a matrix of...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


Load in multiple text files and store data in a matrix
I have 28 text files, of this pattern: out.200.data out.225.data up to out.900.data How can I populate the 3rd r...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Calculate Running average of large data set
I have a data structure. I can plot the time vs. temp using this command: scatter(getcolumn(C{1, 1}(:,[1,6]),1), getcolumn(...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Read in files with loop
I have the code below which reads in the data to log200. The thing is, I also need to read in other data too. I need log200, ...

plus de 5 ans il y a | 3 réponses | 1

3

réponses

Question


Why is my code not making the MATLAB text bold?
Why does this not make the text bold? text(x8,y8,txt8,'Interpreter','latex','FontSize',10,'FontWeight','b')

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Adding gridlines to polarcontour plot
I attached 2 images. One shows the ideal grid lines and labels on a polar plot. With the other figure, I am unsure how to add th...

plus de 6 ans il y a | 1 réponse | 0

0

réponse

Question


Polar Contour not interpolating between values
I have a function that I found online: % POLARCONT Polar contourf plot % % Richard Rieber % rrieber@gmail.com %...

plus de 6 ans il y a | 1 réponse | 0

0

réponse

Question


Specify light blue for color
Hi how can I specify the color light blue instead of green below? patch([x3 fliplr(x4)], [y3 fliplr(y4)], 'g' 'EdgeColor','...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Question


adding axis to polar plot
I have a polar plot that has colored contours. I cannot figure out how to add my axis. The code is below: close all ...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


xlsread loop through cell array
I have the following code. I created a cell array with filetypes. You can see in my xlsread I just have one file name. How can I...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


Averaging matrix values after Interpolation
Hey, I have a matrix that is 1x24. Within each cell is another matrix that is a single column. However, the column length change...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


Read in excel sheets with a loop
I have the following: data1 = xlsread('C:\Users\Ben\example.xlsx','PKA1'); data2 = xlsread('C:\Users\Ben\example.xlsx','...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


Plot many curves in one plot using for loop
Is there a way to have the variables in the plot change? I am trying to do this: for i=1:1:8 plot(x(i),o_vac(i)) h...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


Making a 2d polar plot with color
Hi I was able to create a contour polar plot using: https://www.mathworks.com/matlabcentral/fileexchange/14826-polar-contour-...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


How to fill the area between two curves on a polar plot?
My code looks is below. I attached the two curves it generates, with the data that I have. How can I fill the space between the ...

presque 7 ans il y a | 3 réponses | 0

3

réponses

Question


How to get a line over number that does not connect to line next to it?
Hey, I am using the latex interpreter to write crystal directions. I have the code below. But if you use this, I get the directi...

environ 7 ans il y a | 1 réponse | 0

0

réponse

Question


Is there a way to move the r-axis tic labels in a polar plot to another theta angle?
I have some results that are plotted on my polar plot, but the r-axis labels are interfering with some of the data. Can I move t...

environ 7 ans il y a | 1 réponse | 0

1

réponse

Question


Is there a way to actually make polarplot gridlines black?
I know the documentation claims this is possible, but pax = gca; pax.GridColor = 'black'; keeps it as gray. I want t...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Question


How can I get rid of the large invisible border of my MATLAB figure without cropping it?
Hey I have a question that would be super helpful to have an answer to. I am generating many MATLAB images. However, each image,...

plus de 7 ans il y a | 1 réponse | 1

1

réponse

Question


Adding text to plot that is a crystal direction
Hey, so I want to add text to a plot that is a crystal direction. Sounds easy enough, right? It's easy to do [110], but what ...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


In MATLAB 2016b, is there a way to specify the range and number of grid lines in the polar plot?
I currently have my code: suptitle('All') subplot(1,3,1) polar(a,b,'-o') hold on polar(a,c,'-or') title('XY ...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


I have a polar plot. Is there a way to label the axes?
For the r axis, I would like to label "Energy (eV)" How do I do that?

plus de 7 ans il y a | 3 réponses | 2

3

réponses

Question


polar plot bar chart combo or something similar?
Hello, I have 24 spaced angles such as: [100], [10tan(15)], [10tan(30)] etc. Note that tan is in degrees. F...

plus de 7 ans il y a | 3 réponses | 0

3

réponses

Question


3dbar chart of columns of data
I have my x values stored under x, which is a single column with 400 rows. Then my y is 6 columns of 400 rows How can I ge...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


Storing values from for loop and plotting
I have a loop and I want to store the values when I plot. Needless to say this does not work. How Can I generate a plot for all...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Charger plus