Angelavtc

Last seen: oltre un anno fa Attivo dal 2020

Followers: 0   Following: 0

Feeds

Visto da

Risposto
Monte Carlo simulation with two random variables with correlation
Dear @Paul. Sorry to bother you again, but I'm trying to change this code and struggling with how to do it. Now, I want to fix...

oltre un anno fa | 0

Domanda

Monte Carlo simulation with two random variables with correlation
Dear community, I am currently running 1000 Monte Carlo simulations of two random variables (Q_d and Q_g), changing the mean an...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda

apply if-else-statement to a 3D matrix
Dear community, Maybe this is a somewhat obvious question, but I have a 3D matrix with normally distributed simulations like t...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda

Exponential fitting for multiple curves forcing the curves to pass through one point (xo,yo)
I want to make different curves (existing in an array) fit an exponential function passing through a point (different for each c...

circa 2 anni fa | 0 risposte | 0

0

risposte

Domanda

combine 2 timetables with different variables into 1 timetable?
I have two timetables with different "time format" I want to merge timetable 1 with timetable 2 to get timetable 3 as the foll...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda

Count number of words per row in a string
Say I have the following text: str = [ "an example of a short sentence" "a second short sentence"] I would like to ...

oltre 2 anni fa | 3 risposte | 0

3

risposte

Domanda

Count the number of times a word begins with "co" in a text using Text Analytics Toolbox
Dear community, I have a pdf with news headlines, and I need to count the number of words each title has and the number of time...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

Why do I get Cannot fit Power functions to data where X has nonpositive values when using the curve fitting tool?
Dear community, Maybe my question is obvious, but I am trying to estimate a curve with negative values for x using the "powe...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

Find the value of x when the first derivative is equal to 0
Hello community, I have the data x, y (.mat version) from which I compute its first derivative as follows : dy = diff(y)./d...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

How can I change opts.StartPoint for every loop iteration for the predefined points used by the curve fitting tool?
Dear community, Using the curve fitting tool, I have generated the code to fit a curve using specific x and y values. However,...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

How to identify and erase the cells with the error "Error using fit>iFit (line 348). NaN computed by model function, fitting cannot continue" in an array?
Dear community, I have an array (720*1 cell) where in each cell, I have a set of variables x and y. I am estimating the best ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

Why is it that if I adjust a curve with the curve fitting tool, it does not give me the same results as if I fit it without the tool?
Hello, community, I am trying to fit a series of points with a power function with and without the tool, using the same star...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda

How can I find where to split a piecewise regression and find the parameters involved in the function?
Dear matlab community: I am trying to fit several data sets with three distinct regions. Essentially, I want to fit the coeffic...

oltre 2 anni fa | 1 risposta | 1

1

risposta

Domanda

Merging three 3D plots into one
Dear community, How can I merge three different 3D plots into one? My figures are saved in .fig (here I attach them), and I wo...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda

Why, when I calculate the skewness of a series with constants, do I not get NaN?
Dear Matlab community, I have a simulation of normally distributed numbers with a mean of 76 and a standard deviation of 0, wh...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda

Combine multiple columns into a single column keeping the column names?
Dear all, I have a matrix with dimensions 24*366. Each row corresponds to a time in the day (hour 1 to hour 24) and each colu...

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda

How to retrieve the list of numbers from which the average of a normal simulation is derived?
Hello all! I am currently using the following code to calculate the average of 5000 numbers simulated with a normal distribut...

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda

3-d plot generated from simulations
Hi all, Could someone please tell me how to generate a graph like the one in the figure below? My idea is that I h...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda

Filter a timetable (balance a panel data)
Hello, I have a timetable and I want to keep those days that coincide between each value from my variable "Id". In the examp...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda

Extract data from a timetable excluding an specific date
Hello! I have two timetables. In the first one (tt_1) I have dates and a variable (v1). From this timetable I want to extract ...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda

Removing outliers using standard deviation
Hello everyone, I have a timetable of 8764*3. The first column corresponds to the date, the second to the hour (which goes fro...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda

If and & conditions together
How can I properly formulate the following if. I want to compare each element of 2 vectors [x1_grid and x2_grid] with the same...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda

How to evaluate a polynomial p at each point in y?
How to evaluate a polynomial p at each point in y? I know polyval(p,x) makes the same but for each point in x, but I would lik...

quasi 4 anni fa | 3 risposte | 0

3

risposte

Risposto
find delay between two curves
It is because your graph is not shifted but it has a different scale with respect to the independent variable, thats why you fin...

quasi 4 anni fa | 0

Domanda

Calculate shifts/translation between two curves
Dear all, Is there a way to determine if the blue curve has shifted from the purple curve? (see graph). As you can see, before...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda

How to find a point within a curve?
Hello to all, How can I calculate a point (the red point) on the same curve but 500 units less than the point indicated in blu...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda

How to change a variable to a time variable?
I have the following excel file (ejemplo.xlsx) where the first column is date (format yyyy-MM-dd) , the second start hour and th...

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda

How to know the date to which a group (findgroups) corresponds?
Hello! I have a timetable (TT) where one column is a Date (dd/mm/yyyy format) and another is an Hour, I applied the following ...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Risposto
How to find the are between two graphs?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%...

oltre 4 anni fa | 0

| accettato

Risposto
area under and over the curve
This is wonderful @Image Analyst, with this, you helped me to answer a question that I posted here: https://www.mathworks.com/ma...

oltre 4 anni fa | 0