Réponse apportée
Does anyone have the periodic cubic spline codes in matlab?
You will find plenty of examples of spline-tools with different levels of support for periodic boundary-conditions on the file e...

plus de 4 ans il y a | 1

Réponse apportée
Multiply two griddedInterpolant functions
If you have 2 functions f(x,y) and g(x,y) you can evaluate the product on your selected grid-points and multiply them: fx_at_xy...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
History function for ODE45
Since ode45 solves systems of first-order differential equations on the standard form the history does not matter, so I've never...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
how to plot two different plots with different axis in a single graph?
Have a look at the documentation and help for yyaxis. There you should find illustrating examples doing what you want. Possibly ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to write a code for plotting a Poincare map for the analysis of a double pendulum and also How to simulate the motion of the double pendulum.
You will find a couple of contributions on the file exchange for Poincare-maps, the first seems promising: FEX-hits on "poincare...

plus de 4 ans il y a | 2

Réponse apportée
area of water body in a grey color image
If the water-surface are flatter than the not-water-surfaces (seems reasonable assumption for standard optical satellite imaging...

plus de 4 ans il y a | 0

Réponse apportée
solve a complex second order differential equation
The first step is to convert your second-order ODE to two coupled first-order ODEs: Then you should write that ODE-system as ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
2D Minimization problem, not good for fminsearch?
For problems like these (It seems likely that your function has multiple local minima or at least very very flat regions) the be...

plus de 4 ans il y a | 0

Réponse apportée
Error using * Incorrect dimensions
For problems like these you should learn to run the code line-by-line at the command-line prompt. Then check the size and type o...

plus de 4 ans il y a | 0

Réponse apportée
Can someone please drop the code for ICA( independent component analysis) for image segmentation on matlab for classifying thermal images
Look on the file exchange for ICA-implementations: ICA at FEX Get fastICA from the/(a significant) source: FastICA Then the ma...

plus de 4 ans il y a | 1

Réponse apportée
Integer eigenvalues in Matlab
Since you have a matrix and want the eigenvalues then the best approach seems to be to actually calculate the eigenvalues. For t...

plus de 4 ans il y a | 0

Réponse apportée
How to solve simultaneous equations?
Using symbolic tools you have solve - look at the help and documentation for that function for examlpes. Your problem should red...

plus de 4 ans il y a | 0

Réponse apportée
How to extract data from a function or functions. Also how to export this data to excel.
Your functions have their own name-space where the variables that are defined exists (in addition to the input variables that yo...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
how to Solve 4 Equation and 3 unknown
When you have four non-linear equations with three unknowns you cannot, in general, expect to get a symbolic solution. For these...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
fitting data to system of ode
You will find the answer to this problem in a link to yet another answer (by Star Strider) here: fit-a-parameterised-ode-solutio...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to solve differential equations with varying constants
For the case you describe you have to add information about how X and p varies with time. Are they constant over some fixed inte...

plus de 4 ans il y a | 0

Réponse apportée
What should go in a next-generation MATLAB X?
Allow elementary mathematical operations on function-handles. So instead of writing the sum of two functions as: f1 = @(x) x.^2...

plus de 4 ans il y a | 0

Réponse apportée
Plotting spectrograms for multiple files
Wouldn't you achieve the desired output by putting the different spectrograms in consecutive subplots? Something like this perh...

plus de 4 ans il y a | 0

Réponse apportée
How to define constraint in Optimization such that difference in value between two consecutive unknowns is not greater than 50%
Perhaps a constraint-function like this would get the job done (might be used with fmincon for example): function [c,ceq] = you...

plus de 4 ans il y a | 0

Réponse apportée
Using fsolve to solve equation system for coefficients of a Schwartz-Christoffel map
You can use the optimization-functions to get a solution, or a hopefully good starting-point for fsolve. If you define a sum-of-...

plus de 4 ans il y a | 1

Réponse apportée
Plot handle not being assigned
When you plot multiple lines plot returns an array of line-handles then it doesn't work to assign those to one element in h. For...

plus de 4 ans il y a | 0

Réponse apportée
Solving a pair of equation using matlab
You have 2 unknown parameters k and theta. You have one condition for y at t=0 and one condition for dy/dt at t=0. Since you hav...

plus de 4 ans il y a | 0

Réponse apportée
perpendicular and parallel component
You have to look at the documentation of the mission and the data access etc: MMS_Data_Access_f3. We cannot tell you how to hand...

plus de 4 ans il y a | 0

Réponse apportée
topograph created by EEGLAB using ERP
For this you could do something like this (except I will use random data and plain imagesc): I_peaks = rand(3,1); for i1 = 3:-...

plus de 4 ans il y a | 0

Réponse apportée
Wrong distortion parameters in camera calibration
After quickly looking at the amount of distortion noticeable it seems pretty small - open the images in gimp (for example, comer...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to use one marker for looped plots in legend
To get full controll of legends use the graphics-handles that are returned from the plot-functions. Perhaps something like this:...

plus de 4 ans il y a | 0

Réponse apportée
How to determine the coefficient from the argmin function ?
This is a standard minimization-problem, for that matlab has the fminsearch function (and possibly a couple more in the optimiza...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Roughness of 3D Surface
There are a number of hits returned when searching for "curvature" on the file exchange. The gptoolbox seems to have a bunch of ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to range array steps
Split into two sequences: x = [-1:-1:-32,32:-1:1]; HTH

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How to implement Hermite spline in Simulink
There is a way to make blocks that wrap a matlab-function (matlab-functions-simulink_5), shouldn't that solve this task? HTH

plus de 4 ans il y a | 1

| A accepté

Charger plus