![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10838202_1554077317102.png)
Romio
Followers: 0 Following: 0
Statistica
37 Domande
0 Risposte
RANK
256.480
of 293.484
REPUTAZIONE
0
CONTRIBUTI
37 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
43.24%
VOTI RICEVUTI
0
RANK
of 148.733
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
How to use "deval" or any other function non ode solver output
Suppose I have a solution to an ode that I obtained numerically using an accurate method that is close to the exact solution. Ca...
circa un anno fa | 1 risposta | 0
1
rispostaDomanda
How to get numerical values of nonlinear implicit function?
I plotted the following implicit function k = -1.5 F = @(t,y) log(abs(y)) - y^2/2 - t - k; fimplicit(F,[0,2],'*') How do...
oltre un anno fa | 2 risposte | 0
2
risposteDomanda
Fsolve can't solve this simple nonlinear equation
I am trying to solve the following equation using fsolve (possibly for different values of c). Despite it is a simple equation, ...
oltre un anno fa | 1 risposta | 0
1
rispostaDomanda
How to implement this coupled ODE
I want to solve this ODE but I don't know how to implement it. Basically I want du/dt to be some input function that I determine...
oltre un anno fa | 2 risposte | 0
2
risposteDomanda
How to store intermediate values of solution in ode45
I have the following ode dm/dt model. I want to extract intermediate values of t, m (the solution),u at specfic intermediate poi...
oltre un anno fa | 1 risposta | 0
1
rispostaDomanda
ODE solver for restricted 3 body problem
I am trying to implement the following problem(restricted 3 body problem), but I don't know if my implementation is correct sinc...
quasi 2 anni fa | 2 risposte | 0
2
risposteDomanda
block diagonal matrix in the opposite diagonal
Is there any function/way to construct a matrix with block matrcies in the opposite diagonal. I know of blkdiag( ) but it gives ...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
ode15s solver produces wrong solution
I am trying to solve the heat equation such that using the method of line. I discritzed in space and used ode15s to integ...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to automate the matrix-vector multiplication using the index of a vector?
I have the following m = 50; a = 5 b = 2 c = 2 J = @(t,y) [diag(a*ones(1,m)) + diag(b*ones(1,m-1),1) + diag(c*ones(1,m-1),-...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
What can be done if fsolve cannot find solution?
Hello I have a large piece of code where I have a loop. In each iteration of the loop I use fsolve to find the solution of rela...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Implementing implicit method for system of ODEs
I am trying to implement implicit Runge Kutta for solving a system of ODEs. Currently I was able to do it for scalar ODE (y'=-y)...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to create a loop on function handle
I want to write the following in an efficent way using a loop over j = 1:n. A is n by n matrix, t(i) is a scalar (where i is ano...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to create a matrix with special block diagonal structure
I would like to create a matrix that has the following structure ( The blue dots are ones and the rest is zeros) the number ...
oltre 2 anni fa | 4 risposte | 0
4
risposteDomanda
Change initial step length in fmincon
I am using fmincon to solve an optmization problem with the 'sqp' algorithm. I have set the variable 'StepTolerance' in options ...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Structured trianglar finite element mesh
The available trianglar mesh in the PDE tool box here gives an unstructured trianglar mesh like this one How can get a stucture...
oltre 2 anni fa | 0 risposte | 0
0
risposteDomanda
optimizing two variables in fmincon with different sizes
I have a nonlinear optimization problem where I want to optimize an n x n matrix A and an n x 1 vector b. How can I set up the p...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
how to import a saved figure into a subplot
Hi If I am saving multiple figures as say f1.fig, f2.fig and so on with specific settings that are already saved. How can I imp...
circa 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to connect multiple points in order using the shortest line
I have the following discrete points. The x and y coordinates are the following X = [-0.5305 -2.0960 -1.6192 -2.276...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Weird java text in command window
Something weird happens to Matlab, I get this red text in the command window and it keeps changing whenver I move the mouse. Any...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Improving fit of custom function
Hello, I have the following curve. I want to fit it into a closed-form equation. I tried to use GRABIT to get a vector ...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
adding the vectors at each cell in cell array
Hi I have a cell array where each cell contains a vector. I want to add up the vectors at each cell of each row. The cell arra...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
How to extract one plot from multiple plots?
If I have subplot of 8 plots, How can I plot, say, the second plot on a seperate figure?
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Error with installing MATLAB Support for MinGW-w64 C/C++ Compiler
Hi I am trying to run .c code on MATLAB. I did try using mex, but it gives me this error: Error using mex No supported compil...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
How estimate the frequency of one feature of an image
Hi Is there any way to estimate the spatial frequncy of one feature in an image? Meaning, if I have the follwing image, can I o...
oltre 4 anni fa | 0 risposte | 0
0
risposteDomanda
Why fft results of discrete Fourier series coefficients are different from the actual definition
I tried to find the fourier coefficients of this discrete time singal x[n] = [1 1 0 0 0] using fft to get the coeffiecits. Howe...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
equally spaced array of complex numbers
How to create an equally spaced vector from -2i to 2i with increment of 0.01?
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
data fitting that output eigenvalues and eigenvectors of the data
Hello, I have the follwing data points constituting three curves. Is there any MATLAB function that perform regressio...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
How to solve difference equation with variable coefficients
I know if we have a difference equation in the form of a_1(y[n]) - a_2 (y[n-1]) = b_1(x[n]), where a's and b's are constants w...
oltre 4 anni fa | 0 risposte | 0
0
risposteDomanda
Error using plot: Value not a numeric scalar
I am using this running average function to smooth out dome noisey data. function y = RunningAvg(x,w) wts = ones(1, w) / w...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
plot borders disappear when changing numbers to words in the axes
Hi I plotted some point data and changed the axis to words. But the right and up boarder of the plot disappeaed. Is there any w...
oltre 4 anni fa | 0 risposte | 0