Community Profile

photo

Thishan Dharshana Karandana Gamalathge


University of Nevada Reno

Active since 2015

Statistics

  • First Answer
  • Thankful Level 3

View badges

Content Feed

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

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

circa 4 anni 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=[...

circa 4 anni 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...

circa 4 anni 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...

circa 4 anni 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 ...

circa 4 anni 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 ...

circa 4 anni 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 ...

circa 4 anni 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 ...

circa 4 anni 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...

oltre 4 anni 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 ...

oltre 4 anni 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"...

oltre 4 anni 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...

oltre 4 anni 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.

oltre 4 anni 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...

oltre 4 anni 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....

circa 5 anni ago | 1 answer | 0

1

answer

Answered
Getting rid of order of 10 axes labels
MATLAB_R2016a

circa 5 anni 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...

circa 5 anni 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 ...

circa 5 anni 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...

circa 5 anni 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...

circa 5 anni 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.

circa 5 anni 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...

circa 5 anni 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...

circa 5 anni 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...

circa 5 anni 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...

circa 5 anni 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...

circa 5 anni 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

circa 5 anni ago | 2 answers | 0

2

answers

Load more