Answered
Shifting one curve to a reference curve using error minimization (fmincon from the Minimization Toolbox)
Hi Mathieu, thanks for the elaborate response and sorry for my late reply. Yes, it worked pretty well! Saeid

2 years ago | 0

Question


Shifting one curve to a reference curve using error minimization (fmincon from the Minimization Toolbox)
I need to shift the red curve ONLY horizontally to overlap with the black one. This should be possible using error minimization ...

2 years ago | 3 answers | 0

3

answers

Question


Curve Fitting Using External Function
Using the Curve Fitting Toolbox, is it possible to put the fitting function outside of the fittype? A general example of the way...

2 years ago | 1 answer | 0

1

answer

Question


How to recognize discontinuity of slope in numerical data
I am dealing with a set of data that, when plotted, shows a breaking point as shown in circles. How can I identify these points ...

2 years ago | 1 answer | 0

1

answer

Question


Solving set of nonlinear equations with multiple roots
I would like to solve the set of nonlinear equations for x & y, where the set of equations if defined in the function "Uniaxial"...

2 years ago | 0 answers | 0

0

answers

Question


Complex roots of sin(2*x)-2*x=0
How can i use fsolve to obtain the complex roots of the equation: sin(2*x)-2*x=0?

2 years ago | 2 answers | 0

2

answers

Question


Delete/remove entire rows and columns containing an element that satisfies a condition (e.g. when the element is an imaginary number)
In an array containing elements that are imaginary numbers, how can I remove the entire row(s) and column(s) containing any of t...

3 years ago | 2 answers | 0

2

answers

Question


Combining two character arrays so that the elements of one of them is added in between the elements of the other one
I want to combine two character arrays x='ABCDEFGHIJKLMNOPQRSTUVWXYZ' and a='AAAAAAAAAAAAAAAAAAAAAAAAAA' so that A is alte...

3 years ago | 1 answer | 0

1

answer

Question


Finding the elements within a certain range [XMin, XMax] in every column of an array, then converting all the elements of each column within that range to the minimum of that range
I want to find all the elements within a certain range in every column of an array. For example, I want to find all the elements...

3 years ago | 1 answer | 0

1

answer

Question


Finding the elements within a certain range [XMin, XMax] in every column of an array, then converting all the elements of each column within that range to the minimum of that range
I want to find all the elements within a certain range in every column of an array. For example, I want to find all the elements...

3 years ago | 1 answer | 0

1

answer

Question


Find element satisfying condition in 3D array, then apply operation to all elements in the column number
I have two 3D arrays A & B with I x J x K elements. I want to find all the elements that satisfy a certain condition in A (e.g. ...

3 years ago | 1 answer | 0

1

answer

Question


Integral of exp(-x)*P(x)/Q(x) in terms of exponential integral in symbolic tooblox
I am trying to find an analytical soltuion to the integral I= int(exp(-x)*P(x)/Q(x),x,0,inf) where P and Q are both polynnomi...

3 years ago | 1 answer | 0

1

answer

Question


Shifting datasets using error minimization and optimization
In the field of polymer rheology, it is sometimes necessary to perform tests at different temperatures and then shifting them to...

3 years ago | 0 answers | 0

0

answers

Question


How to use external function to plot a graph in GUI or app designer
Currently I can only write the plotting command inside the code view of my GUI form. In cases where I need to write multiple com...

3 years ago | 1 answer | 0

1

answer

Question


Referring to a specific column of a uitable as logical (with checkboxes)
My program needs to read data from a database and then add checkboxes to an extra column on the right hand side of the data. How...

3 years ago | 1 answer | 0

1

answer

Question


BVP4C is returning x and y output vecotrs that are different in length from the original x vector. Is there a way to fix the length of x ans y?
I would like to solve a set of BVPs with the starting x values (second line of the code below) in a vector of length 50, but whe...

3 years ago | 0 answers | 0

0

answers

Question


Padé approximant for a numerical data array
I am looking for the Padé approximant of a data array such as y. y cannot be given explicitly and is generated by another routin...

4 years ago | 2 answers | 0

2

answers

Question


Outer Bounds of a Dataset
I have a set of xy data and I want to find the outer bounds of this set so that when I plot the data and connect these outer bou...

4 years ago | 1 answer | 0

1

answer

Question


Third Order Boundary Value Problem (BVP) with Boundary Coditions only in Terms of Derivatives
I need to solve the boundary value problem (related to flow of fluids in conical ducts): Y''' + 1 - Y'^2 = 0 with all the thre...

4 years ago | 0 answers | 0

0

answers

Question


Solving nonlinear implicit differential equation of the form F(t,y(t),y'(t),y''(t), y'''(t), ...)=0 in MATLAB using ode15i
Is it possible to solve implicit differential equations of the form F(t,y(t),y'(t),y''(t), ..., y(n))=0 in Matlab? The specific ...

4 years ago | 1 answer | 0

1

answer

Question


Change Edit Filed text from external function
I am trying to design a GUI console, named e.g. MainConsole where input values are entered and then sent to an external function...

4 years ago | 1 answer | 0

1

answer

Question


Call to function with multiple outputs
Considering the function with multiple outputs of different array sizes [y1 y2 y3 y4]=f(x) sometimes inside a program I just n...

4 years ago | 1 answer | 0

1

answer

Question


Stepsize in integral2 or quad2d
I would like to solve the double integral: for i=1:length(z) fz= @(P,Q) sin(P).*(sqrt(1+z(i).*cos(Q).*(sin(2*P)+z(i).*cos(...

4 years ago | 1 answer | 0

1

answer

Question


Compare positions of strings in two cell arrays having the same string elements
I have two cell arrays F1 & F2 having the same elements, but the positions of elements in F2 have been shuffled: F1 = {'ET...

4 years ago | 1 answer | 0

1

answer

Question


Cover shapes in background with filled shapes in foreground
I would like to draw shapes using the polyshape function, e.g. by writing: x0=[0 0 200 200]; y0=[10 0 0 10] SquareSh...

4 years ago | 0 answers | 0

0

answers

Question


Implicit Boundary Value Problem
Is there a way in Matlab to use the bvp4c or bvp5c functions to solve a system consisting of boundary value and algebraic equati...

4 years ago | 1 answer | 0

1

answer

Question


Passing parameters in boundary value problem using BVP4C
For a system of boundary value problems I need to pass a parameter as a coefficient. Let's assume that I have defined the proble...

4 years ago | 2 answers | 1

2

answers

Question


Reading numerical data from text file
I have a large number of text files containing numerical data of the form: -1.1389E+00 7.5269E-05 | -1.6667E-01 0.0...

4 years ago | 1 answer | 0

1

answer

Question


Replacing specified elements of a matrix with elements of a vector
Imagine a 6X6 zero matrix Z=zeros(6,6). I have a vector v=[1 2 3 4] and I want to send the elements of this vector to specified ...

5 years ago | 1 answer | 0

1

answer

Question


Finding elements of an arrays having specified index numbers
If I select a number of elements from an M X N array (which usually follow a pattern) I need to assign the indices of these elem...

5 years ago | 1 answer | 0

1

answer

Load more