답변 있음
system of 1st and 2nd order differential equations ode45
The documentation explains how to express higher-order equations as first-order equations: <https://www.mathworks.com/help/matl...

대략 7년 전 | 0

답변 있음
Solving coupled differential equations
The immediate problem is that you provide too many output arguments to ode45. The components of y will be returned as columns if...

대략 7년 전 | 0

| 수락됨

답변 있음
Commands related to big data and tall array to annalyze data from .csv files.
Check out the documentation: <http://www.mathworks.com/help/matlab/tall-arrays.html Tall Arrays> The general procedure is tha...

대략 7년 전 | 2

| 수락됨

답변 있음
2nd order numerical differential equation system solving
Use the Symbolic Math Toolbox function <http://www.mathworks.com/help/symbolic/odefunction.html |odeFunction|> to convert the |o...

대략 7년 전 | 0

답변 있음
I am looking for a way to share the output of my event function with the main function used by the ode solver.
If you specify a terminal event in the event function, then the integration will halt when the event occurs. You can then use th...

대략 7년 전 | 0

| 수락됨

답변 있음
May you help me please to continue my syytem seconder order DE function?
Since you have boundary conditions you'll want to use bvp4c or bvp5c. See <https://www.mathworks.com/help/matlab/math/boundary-v...

대략 7년 전 | 0

답변 있음
Dynamics of Vibro-Impact system with impact condition
If you use |ode45| then a chunk of your code becomes moot - you just need the initial conditions |y0| and time span |[t0 tfinal]...

대략 7년 전 | 0

답변 있음
Event function in ode45
My guess is you are using the "old" way to pass parameters to the ODE function F, where they are specified as trailing input arg...

대략 7년 전 | 1

답변 있음
How do I speed up ODE15s?
Some things to try... # For stiff problems you should always specify the Jacobian or its sparsity pattern via the options str...

대략 7년 전 | 2

| 수락됨

답변 있음
How to find probability density for two data sets plotted on same histogram?
Two ideas come to mind... 1. You can combine the data sets into one so that the normalization takes into account the total nu...

대략 7년 전 | 0

| 수락됨

답변 있음
How to fix: Index Exceeds Matrix Dimensions
The issue is with the line: M(i,:)=noise(P(i):P(i)+10); You want to take the index |P(i)| and grab the next 10 elements ...

대략 7년 전 | 0

답변 있음
Error message when computing integral: first input argument must be a function handle
If you want to compute the integral symbolically by keeping the line "syms x;", then you'll need to use the function in Symbolic...

대략 7년 전 | 6

| 수락됨

답변 있음
How to construct an undirected graph by reading edge by edge from a text file
You can use |textscan| to read the text file into a cell array, with the first entry listing the source nodes and the second ent...

대략 7년 전 | 0

답변 있음
How to do 2D interpolation
Assuming that |y1| and |y2| are separate functions evaluated at the points in |X|, you are still just doing 1-D interpolation. M...

대략 7년 전 | 1

답변 있음
problems when adding a column to tall array
In the first case the reason you get an error is because you are attempting to add a tall variable to the table that was created...

대략 7년 전 | 2

| 수락됨

답변 있음
minimize cost function for undirected graph
<http://www.mathworks.com/help/matlab/ref/graph.maxflow.html maxflow> can calculate minimum cuts. Also, <http://www.mathworks.co...

대략 7년 전 | 0

답변 있음
Help with graphs - breadth search
This example should be helpful: <http://www.mathworks.com/help/matlab/math/visualize-breadth-first-and-depth-first-search.htm...

7년 초과 전 | 0

답변 있음
How to use kmeans function on data stored by datastore function?
Datastore is just a framework for loading small chunks of the data at a time, so you can't call generic functions directly on th...

7년 초과 전 | 2

답변 있음
Unreasonable ODE45 results
This looks to me as if ODE45 is initially taking big steps which only coarsely capture the behavior, but it quickly recovers and...

거의 9년 전 | 0

답변 있음
The mathematics behind modelling
You have a system of 7 coupled ODEs. You will need to code the equations into a function, define the initial conditions and inte...

거의 9년 전 | 0

| 수락됨

답변 있음
Disable help search highlights after having jumped to a result.
With a page open that has search terms highlighted, press the Esc key to disable the highlighting.

거의 9년 전 | 4

| 수락됨

답변 있음
how to draw a directed graph ??
With MATLAB R2015b you can <http://www.mathworks.com/help/matlab/graph-and-network-algorithms.html create and plot graphs> witho...

대략 9년 전 | 0

답변 있음
How to use "graphmaxflow" function for undirected graphs in matlab?
In MATLAB R2015b, you can easily create and analyze graphs. See the following documentation for more info: http://www.mathwor...

대략 9년 전 | 0

| 수락됨

답변 있음
Draw Directed or undirected graph
This functionality is available in MATLAB R2015b. See the following documentation for more info: http://www.mathworks.com/hel...

대략 9년 전 | 0

| 수락됨

답변 있음
binning data in equally spaced intervals
As others noted, histcounts was introduced in R2014b and provides a great deal more flexibility for problems like this. To us...

9년 초과 전 | 1

답변 있음
Adjusting histogram bin width.
If you use the new histogram function, introduced in R2014b, there is a great deal of control for problems like this. To plo...

9년 초과 전 | 1

답변 있음
Plotting the Bessel function equation
I think you're pretty close, but I did the plotting numerically instead of using a symbolic variable. If you're interested in th...

거의 10년 전 | 2

| 수락됨

답변 있음
How can I get MATLAB to keep variables that are in a range?
Here is one way to do it- just store the vectors as columns in the matrices. X = linspace(0,pi/2,1000); N = length(X); ...

대략 11년 전 | 0