Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 1

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

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

más de 1 año hace | 0

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 1

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas