![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19251717_1597982929070_DEF.jpg)
Nurul Ain Basirah Zakaria
Followers: 0 Following: 0
Statistics
24 Questions
0 Answers
RANK
65,373
of 293,601
REPUTATION
0
CONTRIBUTIONS
24 Questions
0 Answers
ANSWER ACCEPTANCE
45.83%
VOTES RECEIVED
0
RANK
of 20,052
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 149,468
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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?...
2 years ago | 2 answers | 0
2
answersQuestion
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 ...
2 years ago | 0 answers | 0
0
answersQuestion
looping for a function
Hi, can I apply [output1, output2] = calculate(b); in a 3D data such as 80x30x400 data?
3 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
change start point of plot
Hi how can I change the Jan to start at 0?
3 years ago | 1 answer | 0
1
answerQuestion
Root Mean Square Error
Hi, I want to ask if it is possible for me to find the RMSE for observation=444x15x7 model=300x15x7
3 years ago | 0 answers | 0
0
answersQuestion
Grouping data by value
Hi. I have 432x1 data. I need to grouping the data. for example; -0.989088822111364 -1.16881053159657 -0.687960193675098 0....
3 years ago | 2 answers | 0
2
answersQuestion
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...
3 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0