Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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?

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

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

quasi 2 anni fa | 0

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 1

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte