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 månader ago | 1 answer | 0

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 månader ago | 3 answers | 0

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

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 månader 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 månader ago | 1 answer | 0

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 månader ago | 1 answer | 0

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

5 månader ago | 2 answers | 0

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

5 månader ago | 1 answer | 0

Answered

How to find the are between two graphs?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%...

How to find the are between two graphs?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%...

9 månader 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...

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

9 månader ago | 0

Question

How to find the are between two graphs?

Hello to all! How can I find the area in purple between the two graphs in green and blue? is there a exchange file that can do...

9 månader ago | 1 answer | 0

Question

how to find the inflection point from data contained in an array?

Dear all, I have an array of size (360*1 cell) where in each cell I have a set of variables an data as the one that I attach h...

10 månader ago | 2 answers | 0

Question

Second derivative from a smoothing spline fit

Hi! I have the following fit curve that I approximate using the Curve Fitting toolbox: And I want to find the points (Volu...

10 månader ago | 2 answers | 0

Question

Zero crossing for a curve fitting function(smoothing spline)

Hello, I want find the zero-crossings of a smoothing spline function that I got using the Curve Fitting toolbox and plot the ...

10 månader ago | 1 answer | 0

Question

varfun for a cell array?

Is there a way to apply varfun(@mean,A,'GroupingVariable','VariableX')to all the elements that are contained into a cell array?...

10 månader ago | 1 answer | 0

Question

filter a timetable by day

Hi! How can I create timetable that only groups the information from the following timetable by day? timeStamps = datetime...

10 månader ago | 1 answer | 0

Question

plot 2 curves together and limit their own x axes

Hello to everyone! I am trying to put together the following two graphs: 1.- July 2.-August But while doing it, I get ...

11 månader ago | 0 answers | 0

Question

How can I plot 2 fit curves in the same plot using cftool ?

Hello to all! I hope you are doing well. As the question says, I just would like to know if it is possible to plot 2 previosu...

12 månader ago | 1 answer | 0

Question

Mark the intersection of two curves in a graph

Hello to all! I wonder if it is possible to mark (graphically) the intersection between two curves that are based on data, ther...

ungefär ett år ago | 1 answer | 0

Question

append several csv files into one

Hello to all! I am trying to append some csv files into one file using the following code: csv1 = csvread('2011_basehourlycu...

ungefär ett år ago | 2 answers | 1

Question

Delete rows from a timetable with an specific criteria

Hi to all! How can I remove from a timetable which contains 3 columns/variables (Price, Group_Count, Mean_Volume) the observati...

ungefär ett år ago | 1 answer | 0

Question

fitting a dual exponential function using nlinfit

I am trying to use nlinfit to find the function that best fits the following set of points: According to some litterature rev...

ungefär ett år ago | 1 answer | 0

Question

How to filter data by date?

I have a table where the first column contains the date and in the following ones are different variables related with this date...

ungefär ett år ago | 2 answers | 0