Question


How can I remove some specific rows in which zero an nan values exist?
Hi all I have a cell array called "stations2". I intend to remove simultanesly all rows for which the second column is zero or ...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How can I avoid looping here?
Hi all, I want to avoid using for loop in part of my code to make it more efficient. Can anyone give me idea regarding this? S...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


My code does does not go through the the if section
Hi all, I am pretty sure that in column 1 of Coefficient matrix (Coefficient(1:26,1)) there is value equal to Alpha(my input pa...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


Why is my cod not working?
I wrote an interpolation code to get parameter called "landa" by just having two input parameters called "Alpha" and "Mu" respec...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How can I remove rows containing Nan values in table?
Hi all, I have attached a table I am working one. In some rows of a table, there is NaN values both for TAVG and Tfreezing. How...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


How to create for loop on date?
Hi all, Suppose that I have a table having two columns(variables). The first column is date and the second one is daily tempret...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


How to add a column of string in a table in MATLAB?
Hi all, I have a table called "TEMP2". I want to add a column(TAVG) in which I have string saying that ''no data''. What is the...

bijna 2 jaar ago | 1 answer | 1

1

answer

Question


How to divide a column in table to other variables?
Hi all I have a table called "TEMP" reporting daily minimum temprature(TMIN), daily maximum temprature(TMAX), and daily average...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to make changes in the table
Hi all, I have a table reporting daily minimum tempreature(TMIN) and maximum tempretaure (TMAX) for year of 2017. How can I mak...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to put table in another table?
Hi all, I have a cell("stations") for which the 3rd column is table. I want to add a table in the 8th column of that table in e...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


My code does not work properly
Hi all, Using the code below I am supposed to extract daily temperature from NOAA database for a desired year range(e.g. 2006 t...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


Add one year to date
Hi all, Assume we have a date character='2022-01-05". What is the simplest way to add one year to that?

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


Why do I receive "All input arguments must be tables."?
Hi all, Using the code below, I aim to exctract daily tempretaure from NOAA database for a given station id and time interval....

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to remove a part of a character?
Hi all, Suppose that I have a character called Date='1938-03-01'. I want to remove the year part(1983). 1983 is just an exampl...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to insert a cell array elements in another cell array
Hi all and happy new year, I have 3 same size cells, A={data.results.id}',B={data.results.mindate}', and C={data.results.maxdat...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to construct a vector cell array from two cells with different dimensions
Hi all, I have cells called "Station_ID_1" and "Station_ID_2"."Station_ID_1" is a 1*2 cell (each cell is 1000*1 cell) and "Stat...

bijna 2 jaar ago | 1 answer | 0

1

answer

Answered
How to access the specific filed in a structure at each stage of a for loop?
Thank you very much for your answer. I got stock in my code for several hours. The problem is that when the number of stations i...

bijna 2 jaar ago | 0

Question


How to do if condition on the type of data
Hi all, I want to creat if condition in MATLAB in a way that if type of my data is cell, do something and else, do something el...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to access the specific filed in a structure at each stage of a for loop?
HI all, I am trying to extract stations data for a given date range and state from NOAA database. The database only returns dat...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


How to access elements of nested structures
Hi all, I have a nested structure. A 1*1 struct(data) contains a 1*1 struct(metadata) and a 245*1 struct(results). I want to ac...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


MATLAB Interface for NOAA Data
Hi everyone, I want to use MATLAB Interface for NOAA Data to access daily weather data acrros the states. The attached folder co...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How to get daily temperatures of past 30 years for a given location from NOAA online database
Hi all and Merry Christmas. I want to download average daily temperatures of the past 30 years for a given location from NOAA d...

bijna 2 jaar ago | 2 answers | 1

2

answers

Question


What distribution is appropriate for my data?
Hi everyone. I tried to fit a lognormal distribution considering the first moment approach via below code.However, the fited log...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


How to fit lognormal distribution on my data
Hi all, I have 2 vectors. One is the radious of pores within the soil and other is the number of those pores(frequency). Can an...

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


What factors influence the result of the optimization problem?
Hi all I developed a physically-based model in Matlab predicting a parameter of soil. The model has 6 variables that need to be...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Generating numbers following a lognormal distribution within a specific interval
Hello everyone. I am trying to generate numbers following lognormal distribution with specific mu and sigma within a specific in...

ongeveer 2 jaar ago | 2 answers | 0

2

answers