Respondida
Trying to use central difference scheme to solve logistic equation
Well run your code line-by-line and figure out what the problem is. This is what you let us know about your script (My comments...

más de 3 años hace | 1

Respondida
How to calculate jacobian matrix for R^n X R^n system in matlab
Maybe this illustration of how to reshape your variable x and function f from n-by-n to n^2-by-1: syms x [2,2] % a small n-by-n...

más de 3 años hace | 0

Respondida
Plotting 2 functions on the same graph
Skip the calls to subplot? That would make your scrip "not put the graphs in 2 separate axes": x1 = Pos1(t); x2 = Pos2(t); ph...

más de 3 años hace | 0

| aceptada

Respondida
How does Matlab uses memory inside a function?
Matlab is very clever in memory usage in functions, pass-by-reference-copy-on-modification. So as long as you only take values o...

más de 3 años hace | 0

| aceptada

Respondida
Using Shooting Method on Euler Method to Solve Second Order BVP
To do that you should make functions out of this script. That way you will have a much cleaner programme, that is far easier to ...

más de 3 años hace | 1

| aceptada

Respondida
Mapping toolbox: irregular measured geo referenced data into regular grid
"5m" sounds like a reasonably small region of data? If so, local topography might be more important than the curvature of Earth....

más de 3 años hace | 1

Respondida
Pseudo-spectral method solution for wave equation PDE: d^2p/dt^2=(c^2)*[d^2p/dx^2 + d^2p/dy^2 + d^2p/dz^2]
This is just a linear wave-equation with constant speed of the waves. The general solution is just: So you just have to deter...

más de 3 años hace | 0

Respondida
How i can solve limit this ODE question .
This is a Riccati equation. Convert it to a standard linear second-order differential equation and solve it that way, check what...

más de 3 años hace | 0

Respondida
extrapolation of contour data set
Since the minimum value of your counttest-variable is 0.0853 or thereabouts you will never get any contour for levels lower than...

más de 3 años hace | 0

| aceptada

Respondida
Solving an ode for newton with vectors
The thing you have to fix here is the indexing of r in your equation-of-motion. You have to extract the 3 velcity-components for...

casi 4 años hace | 0

| aceptada

Respondida
solving ode in a given grid
If you have the analytical function for how your t depends on x you should be able to calculate t for any x inside your ODE-func...

casi 4 años hace | 0

Respondida
Plotting meteorological data on Geographic maps
If you don't have access to the mapping toolbox you might find good use of the m_map toolbox: m_map. It have helped me make plot...

casi 4 años hace | 0

Respondida
How can I display text on pcolor map like in the image below?
If you have your text-strings and their respective location you should be able to do this brute-force: pcolor(X,Y,Z),shading in...

casi 4 años hace | 0

Respondida
How to add text to a line in the plot?
With text you specify both the x and y-coordinate of the text. For example: th = text(14,-0.5,'text-test that will start at x: ...

casi 4 años hace | 1

Respondida
How can I classify two different types of radar modulation from images obtained in the time-frequency analysis?
The second modulation is obviously a chirp. How can I be so sure? Well I cannot because there is no way I can distinguish a poin...

casi 4 años hace | 0

| aceptada

Respondida
Raw data accelerometer to velocity
Acceleration is derivative of velocity, to get velocity from acceleration summation do you must.

casi 4 años hace | 0

Respondida
How to increase number of contour lines in a plot?
If you check the documentation you will find this advice: fcontour(f,'LevelList',[-1 0 1]) which adapted to your xy-region wou...

casi 4 años hace | 0

Respondida
error in rgb2gray and imshow
It seems you have named a script or function gray.m in your C:\Users\amirg\OneDrive\Documents\MATLAB\ directory. That will cause...

casi 4 años hace | 0

| aceptada

Respondida
How to plot contour on imagesc for three variables?
Maybe it is enough for you to make this minor modification: figure('name','depolarization ratio') imagesc(Reff,EC,depi') hold...

casi 4 años hace | 0

| aceptada

Respondida
how to find DOA using time difference, considering 2 microphones of an audio signal.
If you know the speed of sound, lets say , and the positions of the microphones, lets say and . Now if you can determine the ti...

casi 4 años hace | 1

| aceptada

Respondida
Spectrogram - Piano sound length
Well there are one "music/instrument-based" problem with the question (that might be important or not): on pianos there are the ...

casi 4 años hace | 0

Respondida
Can ode45 return two column vectors or a cell array?
From the help of ode45: For a scalar T and a vector Y, ODEFUN(T,Y) must return a column vector corresponding to f(t,y). So wha...

casi 4 años hace | 0

| aceptada

Respondida
Deblur image that has locally varying (but well known) motion blur
Some time ago I wrote a pair of simple "variable-psf-blurring and variable-psf-deblurring" functions. They at least work OK-ish ...

casi 4 años hace | 0

Respondida
Can I extract NIR data from a NoIR camera?
To my QD-reading on this type of camera it is a normal RGB-camera but without IR-blocking filter. This would make it impossible/...

casi 4 años hace | 0

| aceptada

Respondida
How to take fft along a specific direction?
Perhaps it is a simple as: uh = fft(fft(ubar,[],1),[],2); %fft over periodic direction X and Y Since to my understanding the ...

casi 4 años hace | 0

| aceptada

Respondida
How to Plot the smooth envelope of 3D scattered points
You will get the tightest surface enclosing all points with the convhulln function. That will not be a smooth surface since it i...

casi 4 años hace | 0

Respondida
How to traverse a range of three-dimensional space to calculate the function and draw the function diagram
It might be far better to write your function func as "vectorized" as possible and send the full 3-D arrays into it at once. Onc...

casi 4 años hace | 1

Respondida
How to plot contours on a curved surface in matlab
You can use the attached function contour_on_surf. HTH

casi 4 años hace | 0

Respondida
How to remove corresponding rows of a second array in the case of NaNs in the first array?
Something like this might be preferable to a straightforward loop: x1 = randn(5,11); x2 = x1; x1(x1>1.5) = nan; idxNaN = an...

casi 4 años hace | 0

Respondida
What should go in a next-generation MATLAB X?
Replace the pinv function with a function tikhonov that defaults to the Moore-Penrose generalized inverse without regularization...

casi 4 años hace | 0

Cargar más