Community Profile

photo

Angelavtc


Last seen: 1 year ago Active since 2020

Statistics

  • Thankful Level 4
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

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

1 year ago | 0

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

2 years ago | 0 answers | 0

0

answers

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 3 answers | 0

3

answers

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 1

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 0 answers | 0

0

answers

Question


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

2 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 3 answers | 0

3

answers

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

3 years ago | 0

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

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

4 years ago | 0

| accepted

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

4 years ago | 0

Load more