photo

Thishan Dharshana Karandana Gamalathge


University of Nevada Reno

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

Question


Adding a best fit curve to a scatter plot
I have a scatter plot consisted of 620 points. I want to set the best fit curve rather than me using the "polyfit" function and ...

5 years ago | 0 answers | 0

0

answers

Question


Extracting values corresponds to a particular day from an Excel file
I have hundreds of Excel files in the below format. I cannot manually select the range of raws for a particular date. Also there...

5 years ago | 1 answer | 0

1

answer

Question


eliminate indices that are empty
Suppose I have a vector of eliments including empty spaces in random places. How can I get the average of values that are availa...

5 years ago | 1 answer | 0

1

answer

Question


problems with number of xticklabels
I used the "xticklabels" function, but it limits to about 10 data points. I have 20 points which i need xtick lables on to X-axi...

6 years ago | 1 answer | 0

1

answer

Question


How to include different values for x-ticks
Hi, Suppose the following for X and Y, where x and y are some parameters measured from year 2000-2004. x=[2 5 3 7 10] y=[...

6 years ago | 2 answers | 0

2

answers

Answered
Can I fit multiple data sets using the Basic Fitting Tool in MATLAB?
I am using MATLAB_R2016a. With this newer version, can i get the things done? If so, how? Still I cannot save the curve i fit fo...

6 years ago | 0

Answered
Relating random values from one data set with corresponding values in another data set
10 and 11 are sudden increases of X. Those are indices of 3 and 4 of x. In y, then I have to find whether there are sudden incre...

6 years ago | 0

Question


Relating random values from one data set with corresponding values in another data set
x=[5 3 10 11 1 12 2 2 15 3]; Y=[10 2 1 15 20 2 25 1 30 1]; Suppose X variable represents daily Temperature. Suppose Y variable ...

6 years ago | 1 answer | 0

1

answer

Answered
Grouping values for max and min in irregular data sets
Suppose X variable represents daily Temperature. Suppose Y variable represents something depends on daily Temperature. Y may or ...

6 years ago | 0

Question


Grouping values for max and min in irregular data sets
I have two large data sets. The second data set depends most of the time on the first data sets. But the problem is, dependancy ...

6 years ago | 1 answer | 0

1

answer

Question


Reading .hdf data files
I downloaded data files which has .hdf at the end but the type is shown as "nc4". How to open that type of file to extract data ...

6 years ago | 0 answers | 0

0

answers

Question


overlaying specific points on an imported image
I use the imread command to import a .jpg image which has some data shown (suppose it is a part of a global map with locations o...

6 years ago | 1 answer | 0

1

answer

Question


Reading of Excel files in MATLAB_R2016 vs MATLAB_R2018
When i am trying to extract data using the command [num_1,txt_1]= xlsread('test','Sheet1'), R2016 version considers the 1st row ...

6 years ago | 0 answers | 0

0

answers

Question


Transfer of latitude and longitudes coordinates from one form to another
How can i change latitudes and longitudes in the following form to decimal form? Consider the coordinate (33°49'50"N 117°56'18"...

6 years ago | 1 answer | 0

1

answer

Question


reading a .xls file
when i try to read a .xls file it gives the following error. I do not see any difference in line 251. Length of the file is just...

6 years ago | 0 answers | 0

0

answers

Question


open a .hdf file
How to read and make a plot of any of the .hdf file? Here with this I am attaching a compressed version of similar .hdf file.

6 years ago | 0 answers | 1

0

answers

Question


I need to repeat a word using a loop
I want to say "Hello" seven times. How can I do it using MATLAB? I know how to do it using numbers but not using words. Thank...

6 years ago | 1 answer | 0

1

answer

Question


Bar plot or histograms
I have values for temperature rangers, for an example 10-20, 20-30, etc.When I make a bar plot, the x-axis just shows 1,2,3 etc....

7 years ago | 1 answer | 0

1

answer

Answered
Getting rid of order of 10 axes labels
MATLAB_R2016a

7 years ago | 0

Question


Getting rid of order of 10 axes labels
I have a plot with two Y-axes. On the Right side axis, I have to show the tick marks in a normal way rather than in the order of...

7 years ago | 2 answers | 0

2

answers

Question


Extracting and saving data from different .cdf files
I have a set of .cdf files inside which I have several variables which are common to each .cdf file. Each variable in different ...

7 years ago | 1 answer | 0

1

answer

Question


To find the average when there is NaN
I want to find the average of each pairs. ie. avg of 2 &4, avg of NaN and 5. Answer should be 3 and 5. For the second pair, code...

7 years ago | 2 answers | 0

2

answers

Question


How to insert words in between tick marks on the X-axis
On the X-axis of a figure, I have already put tick marks and corresponding values. Now I want to put some words in between those...

7 years ago | 1 answer | 0

1

answer

Question


Coordinate transformation in to lat and lon
I have a location coordinate given as 23k 326287 7393293 I want to convert in to latitude and longitude in decimal form.

7 years ago | 1 answer | 0

1

answer

Question


Averaging sections of a vector
A=[1 3 -999 -999 -999 -999 4 9 8 -999 -999 -999]; Here I want to get averages of three elements by ignoring -999. But in the fin...

7 years ago | 2 answers | 1

2

answers

Question


Dating the X-axis of a plot
I have a date set of size 31x24 for each of November, December, January, February (I have filled non existing dates with NaN, fo...

7 years ago | 1 answer | 0

1

answer

Question


Averaging sections of a given column
Suppose I have a column vector A=[1 3 -999 4 9 8 -999 3 5]; I need to get average of each 3 sections. The problem is, if any sec...

7 years ago | 1 answer | 0

1

answer

Question


How to put only the day number on the X-axis while 24 values being plotted for each day?
I have hourly data for each day for a month( size 31x24)and need to plot them in a away only the day number appears on the X-axi...

7 years ago | 1 answer | 0

1

answer

Question


How to avoid double counted hours for a given day
For a given month (say November), I have hourly data for each day. The problem is, sometimes they have put the same hour twice o...

7 years ago | 1 answer | 0

1

answer

Question


I want to convert the Julian date 273.791667 to calendar day and time
I want to convert the Julian date 273.791667 to calandar day and time

7 years ago | 2 answers | 0

2

answers

Load more