photo

Nesha Wright


Con actividad desde 2018

Followers: 0   Following: 0

Estadística

  • First Answer
  • Thankful Level 3

Ver insignias

Feeds

Ver por

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

alrededor de 6 años hace | 0

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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;

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 6 años hace | 0

Pregunta


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

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas