photo

Nesha Wright


Active since 2018

Followers: 0   Following: 0

Statistics

  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

Answered
How do i know to which graph i'm plotting?
To concatenate then use the command 'cat', to plot both 'plot(catdata)' or use the command 'hold on' if you decide not to concat...

meer dan 6 jaar ago | 0

Question


Illegal use of "end" error when I run the following code. What am I doing wrong?
Likely I am missing something obvious... for n = 1:2015 aggRF(n-1) = (-1.3e-6.*((CH4(n)-CH4(1))/2)-8.2e-6*n+.043)...%CH...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


How to call a value from a file within an equation?
I have the equation : aggRF(n)=(-1.3e-6.*(('CH4(n)'-'CH4(0'))/2)-8.2e-6*n+.043)*(sqrt(CH4(n)-sqrt(CH4(0)))) How do I c...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


How to create a .nc file from netcdf data so that I can draw single values from
Have columns of .nc data, I need to be able to put multiple columns into a single file (Was thinking .nc file). I then want to b...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


I want to add a column of numbers to a text file which already exists, how?
I have a file with columns headers years, emissions and I want to add 'land'. The years run from 1750-2014. For the years 1959-2...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


Why do I need to divide by 12 in the second line to make it equal to line 1?
year_avg = mean(sum(sum(sum(dl,1),2),3),4); year_avg= mean(sum(dl(:)))/12;

meer dan 6 jaar ago | 1 answer | 0

1

answer

Answered
How do I get the sum of the averages for a specific time step?
thank you!

meer dan 6 jaar ago | 0

Question


How do I get the sum of the averages for a specific time step?
I am using: mean_time = sum(mean(mean(mean(total)))); to get the sum of the averages of a 4D matrix. How do I change this to ge...

meer dan 6 jaar ago | 2 answers | 0

2

answers

Question


How do you get a global average at each time step so they can be summed?
I have a 4D array of emissions. I want the average emissions at each time step so that I can then sum all of these averages and ...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


How do I sum over one dimension of a multidimensional array?
I have four dimensions in a netcdf file: lat, long, sector and time. I want to sum over JUST sector. Is there a simple command t...

meer dan 6 jaar ago | 2 answers | 0

2

answers

Question


How do I sum over multiple dimensions? I want my final result to be a average with respect to area not the number of grids.
When I use the sum command it sums the rows (A=sum(b)). I want a global average (emissions/space) as my final value and I keep g...

meer dan 6 jaar ago | 2 answers | 0

2

answers