Community Profile

photo

Thishan Dharshana Karandana Gamalathge


University of Nevada Reno

Attivo dal 2015

Statistiche

  • First Answer
  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

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

oltre 5 anni fa | 0

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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.

quasi 6 anni fa | 0 risposte | 1

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risposto
Getting rid of order of 10 axes labels
MATLAB_R2016a

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Carica altro