Nurul Ain Basirah Zakaria
Followers: 0 Following: 0
Feeds
질문
function doesnt works well
Hi, I am using this function; function [s,tint] = spei(t,prec,pevap,varargin) But, I am not sure what is varargin works for?...
거의 3년 전 | 답변 수: 2 | 0
2
답변질문
Not enough input arguments
function [spei_index]=calculate_spei(t,prec,pevap,varargin); [nlon, nlat, n]=size(prec); prec=squeeze(prec); for i=1:nlon ...
거의 3년 전 | 답변 수: 0 | 0
0
답변질문
looping for a function
Hi, can I apply [output1, output2] = calculate(b); in a 3D data such as 80x30x400 data?
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
intensity of dought events
Hi, I have a drought duration over time file. So, it is the drought duration event where it contains consecutive months of negat...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
extract without change my NaN value
Hi, I have a data of 420x32x20 (precip over timexlatxlon) And then, I need to apply this formula into each grid: %F=n/N×100 %...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
how do i get MATLAB to extract a specific value in multidimension array or matrix
Hi, i have a matric 420x32x20 then i want to extract the value form -1 to -4 thus, i tried for i=1:32 for j=1:20 idx(:,i,j)...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
using the vertical bars in calculation
Hi, how can I calculate, i mean i want to include the vertical bar | x |, for instance, | 1/40 |
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
applying the formula into the data
Hi. Can someone please help me to understand this formula: where; SSPI is SPI value below the threshold K is drought thre...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
make a better map
hi, how can i edit and change the colormap to make it better? this is my script: ax = axes(); Spi3=permute(New_freq,[2 3 1]);...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Calculate frequency for each gridded
Hi. Is it possible that I want to, Change the value of -1.00 untill -3.00 tu 1 and the rest as 0. Then, I want to know how much...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
fit the y=mx+c in time series
Hi. I have 420x1 data of time series. How can I fit y=mx+c line in the plotting?
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to fit trend line in time series
Hi. I plotted a figure of my time series but I want to calculate and fit in the trend line. Can I use the polyfit to d...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
calculating frequency in matlab
Hi. Ive calculated the spi index in matlab. And now I want to calculate the frequency (moderate, severe and strong) drought with...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
Root Mean Square Error
Hi, I want to ask if it is possible for me to find the RMSE for observation=444x15x7 model=300x15x7
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
Grouping data by value
Hi. I have 432x1 data. I need to grouping the data. for example; -0.989088822111364 -1.16881053159657 -0.687960193675098 0....
거의 4년 전 | 답변 수: 2 | 0
2
답변질문
How to change my x axis value
Hello. Is it possible for me to change my x axis value? My data is from 1982-2017. I plot and came out like this: but I wan...
거의 4년 전 | 답변 수: 2 | 0
2
답변질문
Calculation using the spi script
Hello. I'm currently using this script to calculate my SPI but it seems not working on my 3d data. My data size is: 288x32x26 ...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
How to change my color map
Hi. How to change my colormap? I want to reverse the color, -2 should be the orange one. Can anyone teach me how to do it. I've...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
Average for 4d data
Hi! How can I calculate the average for a 160x140x1x12 which are lat,lon,year and month. I want to calculate the average of mont...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
How to extract certain time in matrix data
Hi. I have a 476x160x140 precipittaion data (precip/time,lon,lat), from 1981 to 2011 in nc file. Can I extract certain data for...
대략 4년 전 | 답변 수: 0 | 0
0
답변질문
How can plot precipitation data with latitude longitude information? I have matrix of precipitation over the time,latitude and longitude all are in 470*160*140 dimensions.
How can plot precipitation data with latitude longitude information? I have matrix of precipitation over the time,latitude and l...
대략 4년 전 | 답변 수: 2 | 0
2
답변질문
Why do I get "Array indices must be positive integers or logical values"
J=rand(9); K=rand(12); L=rand(10); a=meshgrid(J,K,L); sc=3; [n,m,p0]=size(a); SI=zeros(n,m,p0); for ii=1:n for jj=1:m t...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
How to loop through cell arrays 3d
I have a 444x200x400 cell array, called chirps, that I am trying to loop through and do an equation on each cell. How would I do...
대략 4년 전 | 답변 수: 1 | 0