Community Profile

photo

Em


Last seen: 2 maanden ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Same colour scale for scatter and line plots on same graph - different groups of data
I have 2 sets of data (denoted by 250 and nothing at the end of the string) My 2 problems: I'm trying to make line plots throu...

3 maanden ago | 1 answer | 0

1

answer

Question


Line of best fit not plotting correctly
Hi, When I use the graph app to find a line of best fit to my data, everything seems to be working fine (see attached image)....

3 maanden ago | 2 answers | 0

2

answers

Question


Strange function fit to data points- sorting by first column vals?
Hi, does anyone have any idea why my function has such a strange shape? In the modelling app I'm not getting this. I think...

3 maanden ago | 1 answer | 0

1

answer

Question


how to plot shorter dataset using 'hold on'
Hi, I have a dataset and want to plot a line of best fit to the beginning of the data which is the only part where it fits. ...

3 maanden ago | 1 answer | 0

1

answer

Question


how to remove uncertainty from data in order to plot it
Hi, I have a dataset consisting of a array of strings with a number and uncertainty e.g."2.19479E-8 ± 2.46286E-10" I wan...

3 maanden ago | 2 answers | 0

2

answers

Question


measuring local slope from scatter plot data and replotting this value
Hi, I want to make a plot of Ln[dLn(c)/dLn(x)] vs Ln(x) where I have measured c at different irregularly spaced x and the c...

3 maanden ago | 0 answers | 0

0

answers

Question


can't find line of best fit from simple code
I can't get a line of best fit to my data using the code from the matlab polyfit page. Does anyone know what might be going wr...

4 maanden ago | 1 answer | 0

1

answer

Question


numerical array is being saved as string
I have a numerical array which is saved somehow as a string - when I get Matlab to return the variable, all the numbers are in s...

4 maanden ago | 1 answer | 0

1

answer

Question


ylim error "Array indices must be positive integers or logical values"
Hi everyone, When I try to set the y axis limits using the code below, I get an error message. Please could someone suggest w...

4 maanden ago | 1 answer | 0

1

answer

Question


how to change colors of lines in a plot to exist on a scale
Does anyone know how to change the colours of lines in a plot so that they exist on a scale? My current code: plot(powerp...

6 maanden ago | 1 answer | 0

1

answer

Question


Unexpected resul when trying to plot from array "empty double row vector"
Hi everyone, When I try to plot the following: x305a=table2array(x305); x305a(404:end,1) I recieve this >> x305a(1,404...

7 maanden ago | 1 answer | 0

1

answer

Question


graph format for Applied Physics Letters Journal papers
Hi, does anyone know if there is an approved format for Matlab created graphs in Applied Physics Letters journal papers or if...

8 maanden ago | 1 answer | 0

1

answer

Question


error message 'The end operator must be used within an array index expression.'
Hi, When I try to plot plot(H20Vs{1:end,1},H20Vs{1:end,2}) hold on plot(M20Vs{1:end,1},M20Vs{1:end,2}) hold on plot(N20...

8 maanden ago | 0 answers | 0

0

answers

Question


legend label for subplots
In my figure I have 6 subplots, each displaying the same set of conditions - so I only really need one legend label for all of t...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


Plotting swept data in 3D plot without link between sweeps
Hi everyone! I want to plot my data in 3D without a link between sweeps. This is my current code. M0dBmto15dBm_0off...

ongeveer een jaar ago | 0 answers | 0

0

answers

Question


How to perform the same actions on a matrix that is broken up into sections?
Hi everyone, I have a matrix where one column has values '1,1,1,.....1,2,2,2.....2,3,3,3..... etc). I want to divide the matrix...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


plotting data of different x values but same number of data points on the same plot
I have 2 sets of data that I want to plot on the same axis. One set of data runs from -23 to 23 and the other runs from -20 to 2...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


table2array gives string array when contents are numbers
Whenever I try to convert an table of numbers into an array, instead I will get a string array with all my numbers listed inside...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


Plot a 3D matrix (1 dependent & 2 independent variables)
I have a matrix with 2 independent variables (X and y) which have given data. I want to plot this data with X and Y (in the X an...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


Undefined function or variable 'filename'
Hi everyone, Whenever I try to execute my .m file, I get the error message popping up: "Undefined function or variable 'filenam...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


dynamic variable error 'Argument to dynamic structure reference must evaluate to a valid field name'
Hi, I get this error message appearing from the line indicated. Can anyone suggest why this might be happening? Thanks! i=x...

meer dan een jaar ago | 0 answers | 0

0

answers

Question


how to plot the mean of values from swept data
Hi everyone, I have a array of data where I ramped one variable and measured another a number of times. I would like to find th...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


Saving to GitHub repo from MATLAB command line
Hi, I'm new to github and I want to use it to save my matlab code from the commandline on my mac. I'm sure there must be some s...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


specifying the axes limits separately for 2 sets of data on the same plot
I'm using yyaxis left/right to plot different graphs together and I want to change the axes limits for one side. ylim does ...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


creating a new matrix without certain rows with elements below a certain value
I want to create a new matrix which is has the same values as my original matrix, M, minus those rows whose first column values ...

bijna 2 jaar ago | 1 answer | 0

1

answer